Not using SIDELOADED_LAUNCHER name

It may imply something malicious, while we simply mean a third-party
launcher.

Bug: 79437767
Change-Id: I2e169fda9404ca7a042e40877ed6f4b7d2d723a1
This commit is contained in:
vadimt
2019-12-13 17:16:19 -08:00
parent f4b5bcac43
commit bd28a8ec0c
2 changed files with 2 additions and 2 deletions

View File

@@ -92,7 +92,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.

View File

@@ -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;
}