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

Unverified Commit 79460c56 authored by LuK1337's avatar LuK1337 Committed by Michael Bestas
Browse files

Don't discard custom grid on config changes

Change-Id: Ibfa2eafec50c9fe79d1e9594ddc68fb5266ecb18
parent 10f0820f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -375,7 +375,7 @@ public class InvariantDeviceProfile {
    private void onConfigChanged(Context context) {
        // Re-init grid
        String gridName = getCurrentGridName(context);
        initGrid(context, gridName);
        initGrid(context, Utilities.getPrefs(context).getString(KEY_IDP_GRID_NAME, gridName));

        for (OnIDPChangeListener listener : mChangeListeners) {
            listener.onIdpChanged(this);