Commit 92df53c7 by Mikanoshi

Build 289

1 parent 56bc5aea
Pipeline #57 for 92df53c7 passed in 59 seconds
......@@ -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() {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!