Files
vendor_strix/overlay
Danny Lin 0498768376 device_config: Save discrete app op history for more permissions
Android 12's privacy dashboard shows permission usage timelines for
location, camera, and microphone. However, there's no reason to limit it
to those specific permissions; all the infrastructure is in place for
other permissions.

To enable the usage timeline for more permissions, keep discrete app op
history for all permission groups shown in the privacy dashboard. The
list of permission group -> app op mappings was obtained from
AppOpsManager.RUNTIME_AND_APPOP_PERMISSION_OPS with a few additional ops
from PrivacyItemController, and each op was resolved to its respective
enum ordinal from frameworks/proto_logging/stats/enums/app/enums.proto.

Change-Id: Icbde7fb59ae16fa7b15160d78d9dce7125a82ba6
2022-04-28 22:41:56 +02:00
..
2022-03-10 18:32:41 +01:00