Merge "Remove the restricted user enforcement in getAppExclusionList"
This commit is contained in:
@@ -4185,8 +4185,6 @@ public class Vpn {
|
|||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
public synchronized List<String> getAppExclusionList(@NonNull String packageName) {
|
public synchronized List<String> getAppExclusionList(@NonNull String packageName) {
|
||||||
enforceNotRestrictedUser();
|
|
||||||
|
|
||||||
final long oldId = Binder.clearCallingIdentity();
|
final long oldId = Binder.clearCallingIdentity();
|
||||||
try {
|
try {
|
||||||
final byte[] bytes = getVpnProfileStore().get(getVpnAppExcludedForPackage(packageName));
|
final byte[] bytes = getVpnProfileStore().get(getVpnAppExcludedForPackage(packageName));
|
||||||
|
|||||||
Reference in New Issue
Block a user