diff --git a/shared/src/main/java/com/oasisfeng/island/util/Hacks.java b/shared/src/main/java/com/oasisfeng/island/util/Hacks.java index 57d8548b1..396017206 100644 --- a/shared/src/main/java/com/oasisfeng/island/util/Hacks.java +++ b/shared/src/main/java/com/oasisfeng/island/util/Hacks.java @@ -141,7 +141,9 @@ interface OpEntry extends Hack.Mirror { void setMode(int code, int uid, String packageName, int mode); /** Retrieve the default mode for the operation. */ - static int opToDefaultMode(final int op) { return Hack.mirrorStaticMethod("opToDefaultMode", -1, op); } + static int opToDefaultMode(final int op) { + return Hack.mirrorStaticMethod(AppOpsManager.class, "opToDefaultMode", -1, op); + } } public interface UserManagerHack extends Hack.Mirror {