[PS] Show "Uninstall" in Long Press menu for Private Space apps.

Video : https://b.corp.google.com/issues/319250810#comment18

- Add SecondaryDropTarget.performUninstall()
- Make SecondaryDropTarget.getUninstallTarget() public static.

Test: Manual
Flag: aconfig com.android.launcher3.enable_private_space TEAMFOOD
Bug: 319250810

Change-Id: If6488033a976914fdc0a50658fc0561dc1a6586a
This commit is contained in:
Anushree Ganjam committed 2024-01-30 16:54:04 -08:00
1 parent b629cfef51
commit 45ef544ae5
4 files changed
+92 -24

No files matched your search

@@ -717,7 +717,10 @@ public class StatsLogManager implements ResourceBasedOverride {
LAUNCHER_PRIVATE_SPACE_INSTALL_APP_BUTTON_TAP(1605),
@UiEvent(doc = "User attempted to create split screen with a widget")
LAUNCHER_SPLIT_WIDGET_ATTEMPT(1604)
LAUNCHER_SPLIT_WIDGET_ATTEMPT(1604),
@UiEvent(doc = "User tapped on private space uninstall system shortcut.")
LAUNCHER_PRIVATE_SPACE_UNINSTALL_SYSTEM_SHORTCUT_TAP(1608),
// ADD MORE
;