Add 6 col grid to UIEvents
Bug: 210118169 Test: manual Change-Id: I811c970ba41641a0abfae0d0a395a6b31a9da5dd
This commit is contained in:
1 parent
3b7ae6e723
commit
f3dbb049dc
2 files changed
+6
No files matched your search
@@ -22,6 +22,7 @@ import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCH
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_GRID_SIZE_3;
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_GRID_SIZE_4;
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_GRID_SIZE_5;
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_GRID_SIZE_6;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
@@ -84,6 +85,8 @@ public class DeviceGridState {
|
||||
public LauncherEvent getWorkspaceSizeEvent() {
|
||||
if (!TextUtils.isEmpty(mGridSizeString)) {
|
||||
switch (mGridSizeString.charAt(0)) {
|
||||
case '6':
|
||||
return LAUNCHER_GRID_SIZE_6;
|
||||
case '5':
|
||||
return LAUNCHER_GRID_SIZE_5;
|
||||
case '4':
|
||||
|
||||
Reference in new issue
Block a user