diff options
author | Hui Yu <huiyu@google.com> | 2020-02-19 13:07:48 -0800 |
---|---|---|
committer | Hui Yu <huiyu@google.com> | 2020-02-19 16:22:19 -0800 |
commit | 52debeb5b9988e9c392d20efc368b04a9131a493 (patch) | |
tree | d3ea27b81dcec05d0187483a30db861b0e5d05ca /proto | |
parent | 8887c6da17d33e1763e2e121e7d3dcd64cc0413c (diff) |
Show a notification when FGS while-in-use permission is restricted.
Change from showing a toast to a notification.
Bug: 136219221
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerApi29Test.java
to trigger the notification.
Change-Id: If22a72fb5a70b14d0b424fbcfe6d1e5c70f2a34d
Diffstat (limited to 'proto')
-rw-r--r-- | proto/src/system_messages.proto | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/src/system_messages.proto b/proto/src/system_messages.proto index eda3fb9c8698..cff55046fc2b 100644 --- a/proto/src/system_messages.proto +++ b/proto/src/system_messages.proto @@ -252,6 +252,9 @@ message SystemMessage { // Package: android NOTE_ID_WIFI_SIM_REQUIRED = 60; + // Inform the user a foreground service while-in-use permission is restricted. + NOTE_FOREGROUND_SERVICE_WHILE_IN_USE_PERMISSION = 61; + // ADD_NEW_IDS_ABOVE_THIS_LINE // Legacy IDs with arbitrary values appear below // Legacy IDs existed as stable non-conflicting constants prior to the O release |