diff options
author | Soonil Nagarkar <sooniln@google.com> | 2020-02-06 15:57:46 -0800 |
---|---|---|
committer | Soonil Nagarkar <sooniln@google.com> | 2020-02-06 15:57:46 -0800 |
commit | a8717feb6b29d42f6865e03705b01d3c48776c70 (patch) | |
tree | 252caab053e8d6c567a0114f55b932abfa2574eb /proto/src/system_messages.proto | |
parent | b642e394dd67d5cf0ed4d69d9547278cd4cbdaeb (diff) |
Add location notification and target sdk checks
Check target SDKs to disallow using setSecureSetting with LOCATION_MODE
and point clients to setLocationEnabled() instead. Show notifications to
users when location settings are changed by the admin.
Bug: 136219903
Test: manual - triggered setLocationEnabled and observed notification
Change-Id: I07c150e62230b06f76ec7bd5197a23e703ffb918
Diffstat (limited to 'proto/src/system_messages.proto')
-rw-r--r-- | proto/src/system_messages.proto | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/proto/src/system_messages.proto b/proto/src/system_messages.proto index 54b420191deb..63dd99e215ab 100644 --- a/proto/src/system_messages.proto +++ b/proto/src/system_messages.proto @@ -244,6 +244,10 @@ message SystemMessage { // Package: android NOTE_SOFTAP_AUTO_DISABLED = 58; + // Notify the user that their admin has changed location settings. + // Package: android + NOTE_LOCATION_CHANGED = 59; + // 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 |