2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-19 21:25:38 +00:00

finalize permissions stuff

This commit is contained in:
Christopher Roy Bratusek 2018-10-31 21:18:48 +01:00
parent 25347e1459
commit 9207eca7c9
5 changed files with 12 additions and 23 deletions

View File

@ -14,13 +14,10 @@
### General Changes
* Full, microG packages
* split privapp-permissions-google.xml into
* privapp-permissions-microg.xml for microG GmsCore permissions
* privapp-permissions-phonesky.xml for Play Store permissions
* add privapp-permissions for BackupTransport
* split microg-permissions.xml into
* microg-permissions.xml for microG GmsCore and uNlp permissions
* phonesky-permissions.xml for Play Store permissions
* add privapp-permissions-gsync.xml for BackupTransport permissions
### Updates

View File

@ -723,7 +723,7 @@ install_microg () {
fi
nanodroid_install_file etc/permissions/features.xml
nanodroid_install_file etc/permissions/privapp-permissions-microg.xml
nanodroid_install_file etc/permissions/privapp-permissions-google.xml
nanodroid_install_file etc/default-permissions/microg-permissions.xml
nanodroid_install_file etc/sysconfig/microg-a5k.xml
@ -777,9 +777,6 @@ install_gsync () {
cp -r "${INSTALLER}/gsync/etc/default-permissions/" "${MODPATH}/system/etc/"
set_perm_data -r "${MODPATH}/system/etc/default-permissions/"
cp -r "${INSTALLER}/gsync/etc/permissions/" "${MODPATH}/system/etc/"
set_perm_data -r "${MODPATH}/system/etc/permissions/"
find "${INSTALLER}/gsync/etc/default-permissions/" -type f | \
sed -e "s,${INSTALLER}/gsync/etc,/system/etc,g" | \
installinfo_add
@ -853,7 +850,6 @@ install_store () {
NANODROID_APP_STORE="Phonesky"
NANODROID_REM_STORE="FakeStore"
nanodroid_install_file etc/permissions/privapp-permissions-phonesky.xml
nanodroid_install_file etc/default-permissions/phonesky-permissions.xml
;;

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<privapp-permissions package="com.google.android.backuptransport">
<permission name="android.permission.BACKUP"/>
<permission name="android.permission.UPDATE_DEVICE_STATS"/>
</privapp-permissions>
</permissions>

View File

@ -1,5 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<privapp-permissions package="com.google.android.gms">
<permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"/>
<permission name="android.permission.INSTALL_LOCATION_PROVIDER"/>
</privapp-permissions>
<privapp-permissions package="com.google.android.backuptransport">
<permission name="android.permission.BACKUP"/>
<permission name="android.permission.UPDATE_DEVICE_STATS"/>
</privapp-permissions>
<privapp-permissions package="com.android.vending">
<permission name="android.permission.ALLOCATE_AGGRESSIVE"/>
<permission name="android.permission.BACKUP"/>

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<privapp-permissions package="com.google.android.gms">
<permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"/>
<permission name="android.permission.INSTALL_LOCATION_PROVIDER"/>
</privapp-permissions>
</permissions>