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

Commit ac6097b8 authored by Annie Chin's avatar Annie Chin
Browse files

Remove unnecessary notifyDataSetChanged in onResume.

Bug: 21766680
Change-Id: I4819c0dccf965e9b33ae5ee5a61feef81d709d04
parent 226c99fa
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -306,9 +306,6 @@ public abstract class AlarmClockFragment extends DeskClockFragment implements
            setLeftRightButtonAppearance();
            setLeftRightButtonAppearance();
        }
        }


        if (mAdapter != null) {
            mAdapter.notifyDataSetChanged();
        }
        // Check if another app asked us to create a blank new alarm.
        // Check if another app asked us to create a blank new alarm.
        final Intent intent = getActivity().getIntent();
        final Intent intent = getActivity().getIntent();
        if (intent.hasExtra(ALARM_CREATE_NEW_INTENT_EXTRA)) {
        if (intent.hasExtra(ALARM_CREATE_NEW_INTENT_EXTRA)) {