summaryrefslogtreecommitdiff
path: root/SafetyLabel/java
AgeCommit message (Collapse)Author
2023-02-22Revert "Don't unnecessarily query package metadata for SafetyLabels" Adam Wright
This reverts commit dba921871424ac9913344419c7307593522e62b3. Reason for revert: DM P0 breakage (b/270255253) Change-Id: Ibf50d32e2d0cb4cc8e25ff604ecd8d92c97a56dc
2023-02-18Don't unnecessarily query package metadata for SafetyLabels Joe Castro
Only querying metadata for packages in SafetyLabel display when we know that the package has permissions that should include safety labels. Right now that is limited to LOCATION permissions. As part of this, I consolidated some of the utilities and made it so there is less branching and less need to check in multiple places whether the feature is enabled. Bug: 260873483 Test: atest Change-Id: I30efd202985fecb95eb919952deaf555d289fc0e
2023-01-30Update safety label contants to lowercase fayey
Test: atest CtsPermission3TestCases Bug: 266594414 Bug: 266824947 Change-Id: Ic4c833f6ea05495ca3a9640f0562b72704289c49
2023-01-26Remove the setting_sections on permission rational dialog which should not ↵ fayey
be shown when the dialog is clicked through the permission rational container on the app permission view page. Test: atest CtsPermission3TestCases Bug: 264301290 Change-Id: I877ba71e2e570031bb9f2a5d88340fdc69cffd17
2023-01-24Update metadata/safetyLabel to address versioning. fayey
Add SafetyLabelTests into Postsubmit. Test: atest SafetyLabelTests Test: atest PermissionControllerMockingTests Test: atest CtsPermission3TestCases Bug: 261069412 Change-Id: Ic3c2943a1e20538fe6a12b74ac8715693ced311d
2022-12-14Add installsource live data and hook up store link Richard MacGregor
Bug: 260144598 Test: atest PermissionRationalePermissionGrantDialogTest Test: atest PermissionRationaleTest Change-Id: Ie5de608ece58507b49873386f38a8f385d70b643
2022-11-18Add permission rationale to permission grant dialog Richard MacGregor
Initial permission rationale UX, link to more info in follow up Bug: 258557390 Test: atest PermissionRationalePermissionGrantDialogTest Change-Id: If31fc9198ecc5c571a14179a945afeea310699bc
2022-11-08Initial implementation of SafetyLabel parser Richard MacGregor
Currently only minimal SafetyLabel parsing targeting Permission Rationale feature work Bug: 252810718 Test: atest SafetyLabelTest Test: atest DataLabelTest Test: atest DataCategoryTest Test: atest DataTypeTest Change-Id: I431637b4468ddc0303065f672e5ac97c3f770dc7