Merge "Remove the restricted user enforcement in getAppExclusionList" into tm-qpr-dev

This commit is contained in:
Chiachang Wang
2022-09-22 14:33:19 +00:00
committed by Android (Google) Code Review

View File

@@ -4182,8 +4182,6 @@ public class Vpn {
*/
@NonNull
public synchronized List<String> getAppExclusionList(@NonNull String packageName) {
enforceNotRestrictedUser();
final long oldId = Binder.clearCallingIdentity();
try {
final byte[] bytes = getVpnProfileStore().get(getVpnAppExcludedForPackage(packageName));