Mikanoshi
Builds for 1 pipeline passed in 59 seconds

Build 289

......@@ -657,7 +657,8 @@ public class PrismMods {
@Override
protected void afterHookedMethod(final MethodHookParam param) throws Throwable {
Resources cellres = (Resources)param.args[0];
if ((boolean)param.args[1]) param.setResult(Math.round(120 * cellres.getDisplayMetrics().density));
int cellHeight = Helpers.isEight() ? 118 : 120;
if ((boolean)param.args[1]) param.setResult(Math.round(cellHeight * cellres.getDisplayMetrics().density));
}
});
XposedHelpers.findAndHookMethod("com.htc.launcher.model.CellSizeModeConfiguration", lpparam.classLoader, "getCellHeightGap", Resources.class, boolean.class, new XC_MethodHook() {
......