Merge "Correct protectionToString"

This commit is contained in:
Jackal Guo
2020-07-24 02:41:04 +00:00
committed by Android (Google) Code Review

View File

@@ -525,6 +525,9 @@ public class PermissionInfo extends PackageItemInfo implements Parcelable {
if ((level & PermissionInfo.PROTECTION_FLAG_APP_PREDICTOR) != 0) {
protLevel += "|appPredictor";
}
if ((level & PermissionInfo.PROTECTION_FLAG_COMPANION) != 0) {
protLevel += "|companion";
}
if ((level & PermissionInfo.PROTECTION_FLAG_RETAIL_DEMO) != 0) {
protLevel += "|retailDemo";
}