Caused by the recent location access preferences not have there initial
visible stats set before creating the view.
Refresh the location stats in displayPreference() for them to fix.
Fix: 232342339
Test: manual visual
Change-Id: I4023fd3a5860490e9c6cb733933a19f96824a53d
Fix the followings:
Recent access apps are not displayed after toggling off/on
"Use location".
When "Use location" is enabled, "Location for work profile" switch is
disable and gray out.
Fix: 227621199
Fix: 227265216
Test: manual
Change-Id: I9f955a381827eb020fbd0d6ebeb9fced3dec1dcf
Use the UiBlocker and its delegate method to prevent the flicker.
Fixes: 220837804
Test: Go to Settings > Location and see all items appearing at the same
time.
Change-Id: I2095289b9436ca66970b6a868d5c9780f2b19664
This CL also does the following:
- Change "past 24 hour access" to "recent access"
- Add timestamp to recent access app
- Remove the summary of "Location Services" button
Bug: 180533061
Test: on device
Change-Id: I0405cb6f363243db9f2c9ccf8ab8788b633d1564