summaryrefslogtreecommitdiff
path: root/proto/src
diff options
context:
space:
mode:
authorlucychang <lucychang@google.com>2021-01-27 18:05:28 +0800
committerLucy Chang <lucychang@google.com>2021-03-18 03:01:10 +0000
commitb98a658c27725fc0dd74a7e302a90dfc95f867f8 (patch)
treeaa285d61af04fae1d2ace3d11f3446f533b29235 /proto/src
parent4e94266881e8d76b4e109c6fb40162f5fac9d717 (diff)
Prompt notifications for non-accessibility services
Prompts a notification for the non-accessibility category service after 24 hours enabled to alert users the service has powerful permissions to view and control the device. And the notification won't be resend to the same service by saving the dismiss record to Settings. Bug: 176965357 Test: atest AccessibilitySecurityPolicyTest atest PolicyWarningUIControllerTest and manually test Change-Id: Id5daf7b14dc88cf3f71a53f46fa9a8f1dee91822
Diffstat (limited to 'proto/src')
-rw-r--r--proto/src/system_messages.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/proto/src/system_messages.proto b/proto/src/system_messages.proto
index 5dd271c9dbb1..f06a94004110 100644
--- a/proto/src/system_messages.proto
+++ b/proto/src/system_messages.proto
@@ -340,5 +340,9 @@ message SystemMessage {
// Notify the user that window magnification is available.
// package: android
NOTE_A11Y_WINDOW_MAGNIFICATION_FEATURE = 1004;
+
+ // Notify the user that some accessibility service has view and control permissions.
+ // package: android
+ NOTE_A11Y_VIEW_AND_CONTROL_ACCESS = 1005;
}
}