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

Commit 1b8b0109 authored by Haiping Yang's avatar Haiping Yang Committed by Android (Google) Code Review
Browse files

Merge "Manual cp of ag/9958222"

parents 2e586343 38b15a88
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -256,6 +256,14 @@ public final class RingtonePickerActivity extends AlertActivity implements
        }

        setupAlert();

        ListView listView = mAlert.getListView();
        if (listView != null) {
            // List view needs to gain focus in order for RSB to work.
            if (!listView.requestFocus()) {
                Log.e(TAG, "Unable to gain focus! RSB may not work properly.");
            }
        }
    }
    @Override
    public void onSaveInstanceState(Bundle outState) {