Joel Galenson
1e7c172ad5
Remove Permissions Hub.
...
Bug: 132292477
Test: View all related screens.
Change-Id: Ic0e890e04f210f3be3eb80c95e398a40a8062001
2019-05-30 08:30:49 -07:00
Lifu Tang
c359536d0b
Add timestamp to recent used apps
...
Bug: 129354132
Test: build, flash, and test manually
Change-Id: If8e657460da45db019633e95e77dffb1493997c0
2019-04-25 12:47:42 -07:00
Svet Ganov
864765f8b4
Update Settings to use the proper DeviceConfig API.
...
Exempt-From-Owner-Approval: carry over approval from ag/6908306
bug:124769181
Change-Id: If18d0dc5e55dabf82b7c7a2b6df240fb8b24f736
2019-04-07 22:37:02 -07:00
Joel Galenson
73f089333b
Pass the location permission not group to MANAGE_APP_PERMISSION.
...
I changed the API to support passing in a permission.
Test: Click on entry and open its permission toggle screen.
Test: atest RecentLocationAccessPreferenceControllerTest
Change-Id: I0f789c9e2a05f4b5b03efab6a7dcdb218e565b52
2019-03-20 09:32:50 -07:00
TreeHugger Robot
20886072af
Merge changes I85ca2b69,Ibd7a47cb,I79522aab
...
* changes:
Update strings for scanning settings
Display empty message if no recent location access
Add comment to help translator with plural forms
2019-03-15 21:36:41 +00:00
Lifu Tang
ecea9e96d9
Display empty message if no recent location access
...
Bug: 120873123
Test: build, flash, and test manually
Change-Id: Ibd7a47cb814fe16ecb1c017865ab28862e17ddcc
2019-03-15 11:43:00 -07:00
Lifu Tang
1328b1f30d
Add links to app location permission page
...
Bug: 121271387
Test: build, flash, and test manually
Change-Id: I188b7113c2421c66b03e8330f141f514991450fe
2019-03-14 16:12:20 -07:00
Fan Zhang
7db118e367
Mass clean up: don't cast class when not needed.
...
Bug: none
Test: rebuild
Change-Id: Ie3f58a3d5ae99ade28a33dcac80c18de90d4d5b2
2019-02-14 12:26:09 -08:00
Joel Galenson
6bf75d288d
Check a flag to see whether or not to show permission usage information.
...
Bug: 122615235
Test: Manually set/unset flag, see/don't see usage information.
Change-Id: I2d743fc28c5676a2304dac73ae96734241f3fe1d
2019-01-31 10:20:05 -08:00
Joel Galenson
03729e780d
Make links to Permissions Hub only show last day.
...
Default to showing only the last day of accesses.
Also fix a bug caused by the API changing from seconds to
milliseconds.
Test: Click links and see correct filter.
Change-Id: I8456723a434c7144e9115e1834f48d3c1da24d4b
2019-01-22 14:56:51 -08:00
tmfang
3bb1439894
Use new interface for setAppEntity
...
The interface was changed in SettingsLib,
so we also need to update the usage for setAppEntity.
Test: visual, robotest
Change-Id: I89644c4a7d6aac9cb9a8784b1f91656c8d7d6d26
Bug: 121271387
2019-01-16 16:02:23 +08:00
Lifu Tang
811d95c373
Display recent location access in the widget
...
Bug: 120239674
Test: manually
Change-Id: Iaf899486bf27c55189eea4c0e913ff1baaf529e5
2018-12-17 20:21:35 -08:00