Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c849f7f authored by Aurélien Pomini's avatar Aurélien Pomini
Browse files

Only use necessary permissions for wallpaperbackup

Flag: NONE
Bug: 319256128
Test: manually backup and restore a 3P live wallpaper and a static
wallpaper
Test: atest WallpaperBackupAgentTest

Change-Id: I5c06d0da9d96f8a914d81b396a1c7771ad59bf75
parent 4a8491e5
Loading
Loading
Loading
Loading
+11 −3
Original line number Diff line number Diff line
@@ -17,11 +17,19 @@
 */
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.android.wallpaperbackup"
    android:sharedUserId="android.uid.system" >
    package="com.android.wallpaperbackup" >

    <uses-permission android:name="android.permission.READ_WALLPAPER_INTERNAL" />
    <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" />
    <uses-permission android:name="android.permission.SET_WALLPAPER" />

    <queries>
        <intent>
            <action android:name="android.service.wallpaper.WallpaperService" />
        </intent>
    </queries>

    <application android:allowClearUserData="false"
                 android:process="system"
                 android:killAfterRestore="false"
                 android:allowBackup="true"
                 android:backupInForeground="true"