mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Revert "Add logs to track app grid changes"
This reverts commit d2706823cb.
Reason for revert: b/258560494
Change-Id: Idb13ff4963ebf364c4b144a69621a13daa376a39
This commit is contained in:
committed by
Android (Google) Code Review
parent
d2706823cb
commit
b415beed17
@@ -206,8 +206,6 @@ public class InvariantDeviceProfile {
|
||||
if (!newGridName.equals(gridName)) {
|
||||
LauncherPrefs.getPrefs(context).edit().putString(KEY_IDP_GRID_NAME, newGridName)
|
||||
.apply();
|
||||
Log.d("b/258560494", "InvariantDeviceProfile - setting newGridName: " + newGridName
|
||||
+ ", gridName: " + gridName);
|
||||
}
|
||||
new DeviceGridState(this).writeToPrefs(context);
|
||||
|
||||
@@ -455,7 +453,6 @@ public class InvariantDeviceProfile {
|
||||
public void setCurrentGrid(Context context, String gridName) {
|
||||
Context appContext = context.getApplicationContext();
|
||||
LauncherPrefs.getPrefs(appContext).edit().putString(KEY_IDP_GRID_NAME, gridName).apply();
|
||||
Log.d("b/258560494", "setCurrentGrid: " + gridName);
|
||||
MAIN_EXECUTOR.execute(() -> onConfigChanged(appContext));
|
||||
}
|
||||
|
||||
@@ -520,10 +517,6 @@ public class InvariantDeviceProfile {
|
||||
}
|
||||
}
|
||||
if (filteredProfiles.isEmpty()) {
|
||||
if (gridName != null) {
|
||||
Log.d("b/258560494", "No matching grid from for gridName: " + gridName
|
||||
+ ", deviceType: " + deviceType);
|
||||
}
|
||||
// No grid found, use the default options
|
||||
for (DisplayOption option : profiles) {
|
||||
if (option.canBeDefault) {
|
||||
|
||||
Reference in New Issue
Block a user