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

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

Don't discard custom grid on config changes

Change-Id: Ibfa2eafec50c9fe79d1e9594ddc68fb5266ecb18
parent e3b9fc51
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -440,7 +440,7 @@ public class InvariantDeviceProfile {

        // Re-init grid
        String gridName = getCurrentGridName(context);
        initGrid(context, gridName);
        initGrid(context, Utilities.getPrefs(context).getString(KEY_IDP_GRID_NAME, gridName));

        boolean modelPropsChanged = !Arrays.equals(oldState, toModelState());
        for (OnIDPChangeListener listener : mChangeListeners) {