The method this change moves needs to be accessed by permission controller which doesn't have access to platform apis. The new module SettingsLibUtils requires system api. Other methods in SettingsLib which don't need platform apis could also be moved into this module. Test: Use talkback on permission screens Bug: 127602715 Change-Id: I017fd22712c3e6eb38a0aa1fb95d4331e9b56a2a
16 lines
273 B
Plaintext
16 lines
273 B
Plaintext
android_library {
|
|
name: "SettingsLibUtils",
|
|
|
|
srcs: ["src/**/*.java"],
|
|
resource_dirs: ["res"],
|
|
|
|
sdk_version: "system_current",
|
|
min_sdk_version: "21",
|
|
|
|
apex_available: [
|
|
|
|
"//apex_available:platform",
|
|
"com.android.permission",
|
|
],
|
|
}
|