diff options
| author | lucychang <lucychang@google.com> | 2021-04-08 11:39:02 +0800 |
|---|---|---|
| committer | Lucy Chang <lucychang@google.com> | 2021-04-08 03:56:20 +0000 |
| commit | 901ca0f20bec59cfd8db7bac1f10e6f88d474465 (patch) | |
| tree | bd24016ca48f3f404a0dfbfd308470d84688af2f /libs/rs/rsg_ScriptJavaClass.cpp | |
| parent | f5042bcc1b0349adca92aa68ced753b7495a8da7 (diff) | |
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
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions
