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

Commit ca8814bd authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Suppress error message during getPermissionGrantState()"

parents 009d0e9e db9b4500
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -13940,8 +13940,8 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
                            granted = PackageManager.PERMISSION_GRANTED;
                        }
                    } catch (NameNotFoundException e) {
                        throw new RemoteException("Cannot check if " + permission
                                + "is a runtime permission", e, false, true);
                        // Package does not exit
                        return DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT;
                    }
                }
                int permFlags = mInjector.getPackageManager().getPermissionFlags(