File tree Expand file tree Collapse file tree
app/src/main/java/com/wtbruh/fakelauncher/xposed Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ public class PinningHook extends HookHelper {
3838 public final static String MODEL_CP23NV3 = "CP23NV3" ;
3939 // BIHEE A89 | 百合A89
4040 public final static String MODEL_BIHEE_A89 = "BIHEE A89" ;
41+ // VIPME M8 | 誉国威 M8
42+ public final static String MODEL_VIPME_M8 = "VIPME M8" ;
4143
4244 // public static Context CONTEXT;
4345 private static int mTaskId ;
@@ -178,7 +180,7 @@ protected void before(MethodHookParam param) {
178180 });
179181
180182 }
181- case MODEL_BIHEE_A89 -> // BIHEE A89 Power key hook
183+ case MODEL_BIHEE_A89 , MODEL_VIPME_M8 -> // BIHEE A89 & VIPME M8 Power key hook
182184 findAndHookMethod ("com.android.server.policy.PhoneWindowManager" , "getRunningActivityName" , new HookAction () {
183185 @ Override
184186 protected void before (MethodHookParam param ) {
You can’t perform that action at this time.
0 commit comments