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

Commit 9627c36a authored by Nicolas Catania's avatar Nicolas Catania Committed by Android (Google) Code Review
Browse files

Merge "ListActivity.onDestroy, remove any pending callbacks."

parents 061d58a1 f767e752
Loading
Loading
Loading
Loading
+37 −29
Original line number Diff line number Diff line
@@ -221,6 +221,15 @@ public class ListActivity extends Activity {
        super.onRestoreInstanceState(state);
    }

    /**
     * @see Activity#onDestroy()
     */
    @Override
    protected void onDestroy() {
        mHandler.removeCallbacks(mRequestFocus);
        super.onDestroy();
    }

    /**
     * Updates the screen state (current list and other views) when the
     * content changes.
@@ -313,4 +322,3 @@ public class ListActivity extends Activity {
        }
    };
}