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

Commit cb399230 authored by Daichi Hirono's avatar Daichi Hirono
Browse files

Add missing nullcheck to debug code in Transitions.startTransition

Bug: 414698810
Flag: EXEMPT bug fix
Test: Follow repro step b/414698810#comment1
Change-Id: I12b1d68dd3e3f3e8d948e0e7e62efcdc55516bcd
parent 3ca291d4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1296,7 +1296,8 @@ public class Transitions implements RemoteCallable<Transitions>,
                + "type=%s wct=%s handler=%s", transitTypeToString(type), wct, handler);
        if (DEBUG_START_TRANSITION) {
            Log.d(TAG, "startTransition: type=" + transitTypeToString(type)
                    + " wct=" + wct + " handler=" + handler.getClass().getName(), new Throwable());
                    + " wct=" + wct + " handler="
                    + (handler != null ? handler.getClass().getName() : null), new Throwable());
        }
        final ActiveTransition active =
                new ActiveTransition(mOrganizer.startNewTransition(type, wct));