Include settings app compat config in the build.
This ensures that any compact changes defined in settings work correctly at runtime. Include the config in the system_ext partition rather than system to avoid breaking rules about where we're allowed to put things. Test: m Test: Check compat changes appear in dev settings UI. Change-Id: I4a6dc6bfcc5de1f68e97faf905ee94b35bde5d11
This commit is contained in:
@@ -54,6 +54,7 @@ android_library {
|
||||
platform_compat_config {
|
||||
name: "settings-platform-compat-config",
|
||||
src: ":Settings-core",
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
android_app {
|
||||
@@ -62,7 +63,10 @@ android_app {
|
||||
certificate: "platform",
|
||||
system_ext_specific: true,
|
||||
privileged: true,
|
||||
required: ["privapp_whitelist_com.android.settings"],
|
||||
required: [
|
||||
"privapp_whitelist_com.android.settings",
|
||||
"settings-platform-compat-config",
|
||||
],
|
||||
static_libs: ["Settings-core"],
|
||||
resource_dirs: [],
|
||||
optimize: {
|
||||
|
Reference in New Issue
Block a user