Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf161fec authored by Chiachang Wang's avatar Chiachang Wang Committed by Automerger Merge Worker
Browse files

Merge "Remove the restricted user enforcement in getAppExclusionList" am:...

Merge "Remove the restricted user enforcement in getAppExclusionList" am: 11cf8289 am: 5cbf834e am: 344d20a3

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2220584



Change-Id: Ie8ca8115c7ed74a72eb16017cece9f84d1bff07b
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents e14b396e 344d20a3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -4185,8 +4185,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));