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

Commit 485d16f6 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android (Google) Code Review
Browse files

Merge "Ignore list item clicks if PreferenceActivity is paused."

parents 4c8dfabf 49bdc168
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -973,6 +973,9 @@ public abstract class PreferenceActivity extends ListActivity implements

    @Override
    protected void onListItemClick(ListView l, View v, int position, long id) {
        if (!isResumed()) {
            return;
        }
        super.onListItemClick(l, v, position, id);

        if (mAdapter != null) {