Send componentName via extra for Accessibility usage notification
Send componentName via extra instead of idenfifier for Accessibility usage notification intents because the identifier is used to identify different intents only. The formal way to send data is via extra, thus the notification can be launched by adb command. Bug: 176965357 Test: enable a11y service and execute adb command below. adb shell am broadcast -a PolicyWarningUIController.ACTION_SEND_NOTIFICATION -p android --receiver-permission android.permission.MANAGE_ACCESSIBILITY --ei android.intent.extra.USER_ID 0 --ecn android.intent.extra.COMPONENT_NAME xxx/yyy Change-Id: I898b66efc05f0144981dd16bd92d719c756b4c2d
Loading
Please register or sign in to comment