Report if app-specific SAW intent
Log using PlatformCompat framework if the app tried to deep-link into
the app-specific screen for managing SAW permission.
Bug: 146327570
Bug: 135920175
Test: 1. adb shell am start -a
android.settings.action.MANAGE_OVERLAY_PERMISSION -d package:com.foo.bar
2. adb logcat -s -v color CompatibilityChangeReporter:*
3. Verify compat change id reported 135920175 and state LOGGED
Change-Id: I1d6c571d524d70c11156aeea27a8800d2a0ba42b
This commit is contained in:
10
Android.bp
10
Android.bp
@@ -43,7 +43,17 @@ android_library {
|
||||
libs: [
|
||||
"telephony-common",
|
||||
"ims-common",
|
||||
"app-compat-annotations",
|
||||
],
|
||||
|
||||
plugins: [
|
||||
"compat-changeid-annotation-processor",
|
||||
]
|
||||
}
|
||||
|
||||
platform_compat_config {
|
||||
name: "settings-platform-compat-config",
|
||||
src: ":Settings-core",
|
||||
}
|
||||
|
||||
android_app {
|
||||
|
||||
Reference in New Issue
Block a user