Merge pull request #1 from Zkdc/exthm-10
Fix privapp-permissions problem
diff --git a/app/src/main/Android.bp b/app/src/main/Android.bp
index fb51116..4c9ec57 100644
--- a/app/src/main/Android.bp
+++ b/app/src/main/Android.bp
@@ -26,7 +26,7 @@
prebuilt_etc {
name: "privapp_whitelist_org.exthmui.game.xml",
-
+ product_specific: true,
src: "privapp_whitelist_org.exthmui.game.xml",
sub_dir: "permissions",
diff --git a/app/src/main/privapp_whitelist_org.exthmui.game.xml b/app/src/main/privapp_whitelist_org.exthmui.game.xml
index a7cb2fb..8a06482 100644
--- a/app/src/main/privapp_whitelist_org.exthmui.game.xml
+++ b/app/src/main/privapp_whitelist_org.exthmui.game.xml
@@ -16,8 +16,7 @@
-->
<permissions>
<privapp-permissions package="org.exthmui.game">
- <permission name="android.permission.SYSTEM_ALERT_WINDOW"/>
<permission name="android.permission.MEDIA_CONTENT_CONTROL"/>
- <permission name="android.permission.INTERACT_ACROSS_USERS_FULL"/>
+ <permission name="android.permission.MODIFY_PHONE_STATE"/>
</privapp-permissions>
</permissions>