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

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

Merge "Use rethrowFromSystemServer instead of RuntimeException"

parents 7c2f5716 cfec9187
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2019,8 +2019,9 @@ public class ActivityManager {
            return getTaskService().isActivityStartAllowedOnDisplay(displayId, intent,
                    intent.resolveTypeIfNeeded(context.getContentResolver()), context.getUserId());
        } catch (RemoteException e) {
            throw new RuntimeException("Failure from system", e);
            e.rethrowFromSystemServer();
        }
        return false;
    }

    /**