Loading Android.bp +9 −0 Original line number Diff line number Diff line Loading @@ -98,4 +98,13 @@ android_app { manifest: "AndroidManifest.xml", additional_manifests: [":WallpaperPicker2_Manifest"], overrides: ["WallpaperPicker2"], required: ["privapp_whitelist_com.android.wallpaper"], } prebuilt_etc { name: "privapp_whitelist_com.android.wallpaper", system_ext_specific: true, src: "privapp_whitelist_com.android.wallpaper.xml", sub_dir: "permissions", filename_from_src: true, } privapp_whitelist_com.android.wallpaper.xml 0 → 100644 +24 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2019 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License --> <permissions> <privapp-permissions package="com.android.wallpaper"> <permission name="android.permission.CHANGE_OVERLAY_PACKAGES"/> <permission name="android.permission.MODIFY_DAY_NIGHT_MODE"/> <permission name="android.permission.SET_WALLPAPER_COMPONENT"/> <permission name="android.permission.WRITE_SECURE_SETTINGS"/> </privapp-permissions> </permissions> Loading
Android.bp +9 −0 Original line number Diff line number Diff line Loading @@ -98,4 +98,13 @@ android_app { manifest: "AndroidManifest.xml", additional_manifests: [":WallpaperPicker2_Manifest"], overrides: ["WallpaperPicker2"], required: ["privapp_whitelist_com.android.wallpaper"], } prebuilt_etc { name: "privapp_whitelist_com.android.wallpaper", system_ext_specific: true, src: "privapp_whitelist_com.android.wallpaper.xml", sub_dir: "permissions", filename_from_src: true, }
privapp_whitelist_com.android.wallpaper.xml 0 → 100644 +24 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2019 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License --> <permissions> <privapp-permissions package="com.android.wallpaper"> <permission name="android.permission.CHANGE_OVERLAY_PACKAGES"/> <permission name="android.permission.MODIFY_DAY_NIGHT_MODE"/> <permission name="android.permission.SET_WALLPAPER_COMPONENT"/> <permission name="android.permission.WRITE_SECURE_SETTINGS"/> </privapp-permissions> </permissions>