Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Make overlay methods optional (debug info)
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed Feb 1, 2015
1 parent faa745e commit 63e120f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/biz/bokhorst/xprivacy/Meta.java
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ public static List<Hook> get() {
mListHook.add(new Hook("notifications", "com.google.android.c2dm.intent.REGISTRATION", "com.google.android.c2dm.permission.RECEIVE", 10, null, null).dangerous());
mListHook.add(new Hook("notifications", "com.google.android.c2dm.intent.RECEIVE", "com.google.android.c2dm.permission.RECEIVE", 10, null, null).dangerous());

mListHook.add(new Hook("overlay", "addView", "SYSTEM_ALERT_WINDOW", 1, null, null).unsafe());
mListHook.add(new Hook("overlay", "addView", "SYSTEM_ALERT_WINDOW", 1, null, null).unsafe().optional());

mListHook.add(new Hook("phone", "getDeviceId", "READ_PHONE_STATE", 10, null, null).notAOSP(19));
mListHook.add(new Hook("phone", "getGroupIdLevel1", "READ_PHONE_STATE", 18, null, null).notAOSP(19));
Expand Down Expand Up @@ -627,8 +627,8 @@ public static List<Hook> get() {
mListHook.add(new Hook(null, "getSettings", "", 1, null, null));

// WindowManagerImpl
mListHook.add(new Hook(null, "removeView", "", 1, null, null));
mListHook.add(new Hook(null, "updateViewLayout", "", 1, null, null));
mListHook.add(new Hook(null, "removeView", "", 1, null, null).optional());
mListHook.add(new Hook(null, "updateViewLayout", "", 1, null, null).optional());

// @formatter:on
return mListHook;
Expand Down

0 comments on commit 63e120f

Please sign in to comment.