commit | cccbb2d30e82e1a3ba070f9ee176a4f1afb41a36 | [log] [tgz] |
---|---|---|
author | Eugene Susla <eugenesusla@google.com> | Thu Jan 09 11:02:09 2020 -0800 |
committer | Eugene Susla <eugenesusla@google.com> | Tue Jan 28 23:18:38 2020 +0000 |
tree | 7741adcf966277d4b417981f1f25293f00b856ee | |
parent | 6e2dec832c3036f793d0a5bfa152ac00b8e54c91 [diff] |
Auto-revoke permissions for unused apps android.permission.PACKAGE_USAGE_STATS is the minimal required permission to get app usage stats, as confirmed by the API author and usage stats is the only place giving us historical app-usage information. Test: reduce thresholds and test with a toy app Change-Id: Id8767cab93802d3fc90dc32a93ffb20a53f45ad9