DocumentsUI use @hide private permission: "android.permission.CHANGE_OVERLAY_PACKAGES" Test: atest DocumentsUITests Test: check CHANGE_OVERLAY_PACKAGES grant to DocumentsUI.apk Test: check CHANGE_OVERLAY_PACKAGES grant to com.android.documentsui Test: com.android.documentsui.xml locate in system/etc/permissions Test: DocumentsUI.apk locate in /system/priv-app/ Bug: 128689309 Bug: 131331107 Bug: 132671058 Change-Id: Ie9bffbe152da511dc08882fd44e95dd426aef980
136 lines
3.4 KiB
Plaintext
136 lines
3.4 KiB
Plaintext
// Copyright (C} 2018 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.
|
|
|
|
|
|
// Sysconfig files
|
|
|
|
prebuilt_etc {
|
|
name: "framework-sysconfig.xml",
|
|
sub_dir: "sysconfig",
|
|
src: "framework-sysconfig.xml",
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "hiddenapi-package-whitelist.xml",
|
|
sub_dir: "sysconfig",
|
|
src: "hiddenapi-package-whitelist.xml",
|
|
}
|
|
|
|
// Privapp permission whitelist files
|
|
|
|
prebuilt_etc {
|
|
name: "platform.xml",
|
|
sub_dir: "permissions",
|
|
src: "platform.xml",
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "privapp-permissions-platform.xml",
|
|
sub_dir: "permissions",
|
|
src: "privapp-permissions-platform.xml",
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "privapp_whitelist_com.android.carrierconfig",
|
|
product_specific: true,
|
|
sub_dir: "permissions",
|
|
src: "com.android.carrierconfig.xml",
|
|
filename_from_src: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "privapp_whitelist_com.android.contacts",
|
|
product_specific: true,
|
|
sub_dir: "permissions",
|
|
src: "com.android.contacts.xml",
|
|
filename_from_src: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "privapp_whitelist_com.android.dialer",
|
|
product_specific: true,
|
|
sub_dir: "permissions",
|
|
src: "com.android.dialer.xml",
|
|
filename_from_src: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "privapp_whitelist_com.android.emergency",
|
|
product_specific: true,
|
|
sub_dir: "permissions",
|
|
src: "com.android.emergency.xml",
|
|
filename_from_src: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "privapp_whitelist_com.android.documentsui",
|
|
sub_dir: "permissions",
|
|
src: "com.android.documentsui.xml",
|
|
filename_from_src: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "privapp_whitelist_com.android.launcher3",
|
|
product_specific: true,
|
|
sub_dir: "permissions",
|
|
src: "com.android.launcher3.xml",
|
|
filename_from_src: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "privapp_whitelist_com.android.provision",
|
|
product_specific: true,
|
|
sub_dir: "permissions",
|
|
src: "com.android.provision.xml",
|
|
filename_from_src: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "privapp_whitelist_com.android.settings",
|
|
product_specific: true,
|
|
sub_dir: "permissions",
|
|
src: "com.android.settings.xml",
|
|
filename_from_src: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "privapp_whitelist_com.android.settings.intelligence",
|
|
product_specific: true,
|
|
sub_dir: "permissions",
|
|
src: "com.android.settings.intelligence.xml",
|
|
filename_from_src: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "privapp_whitelist_com.android.storagemanager",
|
|
product_specific: true,
|
|
sub_dir: "permissions",
|
|
src: "com.android.storagemanager.xml",
|
|
filename_from_src: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "privapp_whitelist_com.android.systemui",
|
|
product_specific: true,
|
|
sub_dir: "permissions",
|
|
src: "com.android.systemui.xml",
|
|
filename_from_src: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "com.android.timezone.updater.xml",
|
|
sub_dir: "permissions",
|
|
src: "com.android.timezone.updater.xml",
|
|
}
|