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

Commit cfec9187 authored by Charles Chen's avatar Charles Chen
Browse files

Use rethrowFromSystemServer instead of RuntimeException

Fixes: 123587667
Test: atest ActivityManagerMultiDisplayTests
Change-Id: Ie34462e28b3d14dbc058a115a3de046e6b42bcc1
parent 29bdd5d1
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;
    }

    /**