Merge "Not using SIDELOADED_LAUNCHER name" into ub-launcher3-master

This commit is contained in:
TreeHugger Robot
2019-12-21 01:45:50 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ enum ContainerType {
TASKSWITCHER = 12; // Recents UI Container (QuickStep)
APP = 13; // Foreground activity is another app (QuickStep)
TIP = 14; // Onboarding texts (QuickStep)
SIDELOADED_LAUNCHER = 15;
OTHER_LAUNCHER_APP = 15;
}
// Used to define what type of control a Target would represent.
@@ -226,7 +226,7 @@ public final class FallbackActivityInterface implements
RecentsActivity activity = getCreatedActivity();
boolean visible = activity != null && activity.isStarted() && activity.hasWindowFocus();
return visible
? LauncherLogProto.ContainerType.SIDELOADED_LAUNCHER
? LauncherLogProto.ContainerType.OTHER_LAUNCHER_APP
: LauncherLogProto.ContainerType.APP;
}