commit | b23ae02cc3a008e3ea873e39cf9fd3a316d4fba5 | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Mon Nov 23 15:45:54 2020 -0800 |
committer | Hai Zhang <zhanghai@google.com> | Mon Dec 07 11:47:58 2020 -0800 |
tree | b6d93e2e2295c5c5ff78eb41af5a479370d3b875 | |
parent | b516f4967b02649fe696ae099ae61991f3dfadd2 [diff] |
Adjust test for the new internal permission protection level. Bug: 158736025 Test: presubmit Change-Id: I69a485c732865facb2e196aaee37aea4b6839b3b
diff --git a/tests/tests/permission2/src/android/permission2/cts/PermissionPolicyTest.java b/tests/tests/permission2/src/android/permission2/cts/PermissionPolicyTest.java index beca150..8f62859 100644 --- a/tests/tests/permission2/src/android/permission2/cts/PermissionPolicyTest.java +++ b/tests/tests/permission2/src/android/permission2/cts/PermissionPolicyTest.java
@@ -341,6 +341,9 @@ protectionLevel |= PermissionInfo.PROTECTION_SIGNATURE; protectionLevel |= PermissionInfo.PROTECTION_FLAG_SYSTEM; } break; + case "internal": { + protectionLevel |= PermissionInfo.PROTECTION_INTERNAL; + } break; case "system": { protectionLevel |= PermissionInfo.PROTECTION_FLAG_SYSTEM; } break;