Skip to content
Commit f7fd4fb1 authored by Eran Messeri's avatar Eran Messeri
Browse files

Only notify when admin enables location for the user

Only notify the user when the admin enables location services on their
device, not on every state change.

Prior to this change the user would be notified when the admin disables
location services, with a misleading notification indicating apps now
have location available.

Tested by installing TestDPC, setting it as device owner, then toggling
location on and off and observing user is notified only on turning
location on.
Test both legacy and new method flows.

Bug: 156602188
Test: Manual using TestDPC (see above)
Change-Id: Ia757802bd7da1afeecfd8071598b692c69860c66
parent 20467761
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment