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

Commit ae7b4937 authored by Issei Suzuki's avatar Issei Suzuki
Browse files

Acivity to rethrow an exception from AMS.

Bug: 128414194
Test: Check if existing tests pass. Should be no-op for normal cases.
Change-Id: Ib9428c34fba8315d5208fa9427e095066aeff4fa
parent 18394147
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -8341,7 +8341,7 @@ public class Activity extends ContextThemeWrapper
        try {
            ActivityTaskManager.getService().setDisablePreviewScreenshots(mToken, disable);
        } catch (RemoteException e) {
            Log.e(TAG, "Failed to call setDisablePreviewScreenshots", e);
            throw e.rethrowFromSystemServer();
        }
    }

@@ -8362,7 +8362,7 @@ public class Activity extends ContextThemeWrapper
        try {
            ActivityTaskManager.getService().setShowWhenLocked(mToken, showWhenLocked);
        } catch (RemoteException e) {
            Log.e(TAG, "Failed to call setShowWhenLocked", e);
            throw e.rethrowFromSystemServer();
        }
    }

@@ -8386,7 +8386,7 @@ public class Activity extends ContextThemeWrapper
            ActivityTaskManager.getService().setInheritShowWhenLocked(
                    mToken, inheritShowWhenLocked);
        } catch (RemoteException e) {
            Log.e(TAG, "Failed to call setInheritShowWhenLocked", e);
            throw e.rethrowFromSystemServer();
        }
    }

@@ -8412,7 +8412,7 @@ public class Activity extends ContextThemeWrapper
        try {
            ActivityTaskManager.getService().setTurnScreenOn(mToken, turnScreenOn);
        } catch (RemoteException e) {
            Log.e(TAG, "Failed to call setTurnScreenOn", e);
            throw e.rethrowFromSystemServer();
        }
    }

@@ -8429,7 +8429,7 @@ public class Activity extends ContextThemeWrapper
        try {
            ActivityTaskManager.getService().registerRemoteAnimations(mToken, definition);
        } catch (RemoteException e) {
            Log.e(TAG, "Failed to call registerRemoteAnimations", e);
            throw e.rethrowFromSystemServer();
        }
    }