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

Commit 3337bd4f authored by Justin Klaassen's avatar Justin Klaassen
Browse files

Remove IAE when switching TimerFragment views

Bug: 31396356
Change-Id: I3b158ceb63781d3839b9839e29cf7b0cbda1d2c6
parent 4ca76aec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -368,7 +368,7 @@ public class HandleApiCalls extends Activity {
            LOGGER.i("Created new alarm: " + alarm);
        }

        // Sechedule the next instance.
        // Schedule the next instance.
        final AlarmInstance alarmInstance = alarm.createInstanceAfter(Calendar.getInstance());
        setupInstance(alarmInstance, skipUi);

+1 −1
Original line number Diff line number Diff line
@@ -532,7 +532,7 @@ public final class TimerFragment extends DeskClockFragment {
     */
    private void animateToView(View toView, final Timer timerToRemove) {
        if (mCurrentView == toView) {
            throw new IllegalStateException("toView is already the current view");
            return;
        }

        final boolean toTimers = toView == mTimersView;