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

Commit c400b92c authored by Luca Zuccarini's avatar Luca Zuccarini
Browse files

Revert "Wrap reparent in a try-catch."

This reverts commit 09782e97.

Reason for revert: part of a revert chain to CP fix to b/404507270. The end state is the same as currently at ToT, but need to have cherry-pickable CLs for branches that are in CP mode.

Change-Id: I4dda41ef22422e9ef502a71ee554125d02c987f0
parent 32e09f35
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -199,10 +199,8 @@ public abstract class RemoteAnimationRunnerCompat extends IRemoteAnimationRunner
                    info.releaseAllSurfaces();
                    // Make sure that the transition leashes created are not leaked.
                    for (SurfaceControl leash : leashMap.values()) {
                        try {
                        if (leash.isValid()) {
                            finishTransaction.reparent(leash, null);
                        } catch (Exception e) {
                            Log.e(TAG, "Failed to reparent leash", e);
                        }
                    }
                    // Don't release here since launcher might still be using them. Instead