mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-11-19 21:25:38 +00:00
finalize permissions stuff
This commit is contained in:
parent
25347e1459
commit
9207eca7c9
@ -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
|
||||
|
||||
|
@ -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
|
||||
;;
|
||||
|
||||
|
@ -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>
|
@ -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"/>
|
@ -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>
|
Loading…
Reference in New Issue
Block a user