Fix grid previewing so it matches the applied layout
Bug: 392019771 Flag: com.android.systemui.shared.new_customization_picker_ui Test: tested manually Change-Id: If0fdd130d4278222b0b6ec2787aa7d6d56fc4b2f
This commit is contained in:
@@ -33,7 +33,6 @@ import android.text.TextUtils;
|
||||
import com.android.launcher3.InvariantDeviceProfile;
|
||||
import com.android.launcher3.LauncherPrefs;
|
||||
import com.android.launcher3.logging.StatsLogManager.LauncherEvent;
|
||||
import com.android.launcher3.util.MainThreadInitializedObject.SandboxContext;
|
||||
|
||||
import java.util.Locale;
|
||||
import java.util.Objects;
|
||||
@@ -103,9 +102,6 @@ public class DeviceGridState implements Comparable<DeviceGridState> {
|
||||
* Stores the device state to shared preferences
|
||||
*/
|
||||
public void writeToPrefs(Context context) {
|
||||
if (context instanceof SandboxContext) {
|
||||
return;
|
||||
}
|
||||
LauncherPrefs.get(context).put(
|
||||
WORKSPACE_SIZE.to(mGridSizeString),
|
||||
HOTSEAT_COUNT.to(mNumHotseat),
|
||||
|
||||
Reference in New Issue
Block a user