Loading services/core/java/com/android/server/appop/AppOpsService.java +25 −5 Original line number Diff line number Diff line Loading @@ -2797,7 +2797,11 @@ public class AppOpsService extends IAppOpsService.Stub { try { pvr = verifyAndGetBypass(uid, packageName, null); } catch (SecurityException e) { if (Process.isIsolated(uid)) { Slog.e(TAG, "Cannot setMode: isolated process"); } else { Slog.e(TAG, "Cannot setMode", e); } return; } Loading Loading @@ -3252,7 +3256,11 @@ public class AppOpsService extends IAppOpsService.Stub { try { pvr = verifyAndGetBypass(uid, packageName, null); } catch (SecurityException e) { Slog.e(TAG, "checkOperation", e); if (Process.isIsolated(uid)) { Slog.e(TAG, "Cannot checkOperation: isolated process"); } else { Slog.e(TAG, "Cannot checkOperation", e); } return AppOpsManager.opToDefaultMode(code); } Loading Loading @@ -3458,7 +3466,11 @@ public class AppOpsService extends IAppOpsService.Stub { attributionTag = null; } } catch (SecurityException e) { Slog.e(TAG, "noteOperation", e); if (Process.isIsolated(uid)) { Slog.e(TAG, "Cannot noteOperation: isolated process"); } else { Slog.e(TAG, "Cannot noteOperation", e); } return new SyncNotedAppOp(AppOpsManager.MODE_ERRORED, code, attributionTag, packageName); } Loading Loading @@ -3974,7 +3986,11 @@ public class AppOpsService extends IAppOpsService.Stub { attributionTag = null; } } catch (SecurityException e) { Slog.e(TAG, "startOperation", e); if (Process.isIsolated(uid)) { Slog.e(TAG, "Cannot startOperation: isolated process"); } else { Slog.e(TAG, "Cannot startOperation", e); } return new SyncNotedAppOp(AppOpsManager.MODE_ERRORED, code, attributionTag, packageName); } Loading Loading @@ -4148,7 +4164,11 @@ public class AppOpsService extends IAppOpsService.Stub { attributionTag = null; } } catch (SecurityException e) { if (Process.isIsolated(uid)) { Slog.e(TAG, "Cannot finishOperation: isolated process"); } else { Slog.e(TAG, "Cannot finishOperation", e); } return; } Loading Loading
services/core/java/com/android/server/appop/AppOpsService.java +25 −5 Original line number Diff line number Diff line Loading @@ -2797,7 +2797,11 @@ public class AppOpsService extends IAppOpsService.Stub { try { pvr = verifyAndGetBypass(uid, packageName, null); } catch (SecurityException e) { if (Process.isIsolated(uid)) { Slog.e(TAG, "Cannot setMode: isolated process"); } else { Slog.e(TAG, "Cannot setMode", e); } return; } Loading Loading @@ -3252,7 +3256,11 @@ public class AppOpsService extends IAppOpsService.Stub { try { pvr = verifyAndGetBypass(uid, packageName, null); } catch (SecurityException e) { Slog.e(TAG, "checkOperation", e); if (Process.isIsolated(uid)) { Slog.e(TAG, "Cannot checkOperation: isolated process"); } else { Slog.e(TAG, "Cannot checkOperation", e); } return AppOpsManager.opToDefaultMode(code); } Loading Loading @@ -3458,7 +3466,11 @@ public class AppOpsService extends IAppOpsService.Stub { attributionTag = null; } } catch (SecurityException e) { Slog.e(TAG, "noteOperation", e); if (Process.isIsolated(uid)) { Slog.e(TAG, "Cannot noteOperation: isolated process"); } else { Slog.e(TAG, "Cannot noteOperation", e); } return new SyncNotedAppOp(AppOpsManager.MODE_ERRORED, code, attributionTag, packageName); } Loading Loading @@ -3974,7 +3986,11 @@ public class AppOpsService extends IAppOpsService.Stub { attributionTag = null; } } catch (SecurityException e) { Slog.e(TAG, "startOperation", e); if (Process.isIsolated(uid)) { Slog.e(TAG, "Cannot startOperation: isolated process"); } else { Slog.e(TAG, "Cannot startOperation", e); } return new SyncNotedAppOp(AppOpsManager.MODE_ERRORED, code, attributionTag, packageName); } Loading Loading @@ -4148,7 +4164,11 @@ public class AppOpsService extends IAppOpsService.Stub { attributionTag = null; } } catch (SecurityException e) { if (Process.isIsolated(uid)) { Slog.e(TAG, "Cannot finishOperation: isolated process"); } else { Slog.e(TAG, "Cannot finishOperation", e); } return; } Loading