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

Commit e7b3ad67 authored by Abodunrinwa Toki's avatar Abodunrinwa Toki
Browse files

DO NOT MERGE: InputSettings: Fix incorrect keyboard list on rotation.

This ports I1e4035f4dcff33e6b9a42d448303e962bd87c14b to MR1 dev.

Bug: 28182232
Change-Id: I292b00a21eb80577dbfec6a13f57b326571aefc7
parent b8257e6f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -212,9 +212,9 @@ public final class PhysicalKeyboardFragment extends SettingsPreferenceFragment
            clearLoader();
            mLastHardKeyboards.clear();
            mLastHardKeyboards.addAll(newHardKeyboards);
            mLoaderIDs.add(mNextLoaderId);
            getLoaderManager().initLoader(mNextLoaderId, null,
                    new Callbacks(getContext(), this, mLastHardKeyboards));
            mLoaderIDs.add(mNextLoaderId);
            ++mNextLoaderId;
        }
    }