Adding support for result callback when starting uninstall-application activity
Change-Id: Ieaca4fbd0ae0156f24c8863ccbef61d4d6d30ba1
This commit is contained in:
@@ -57,7 +57,7 @@ import android.widget.TextView;
|
||||
|
||||
import com.android.launcher3.Launcher.CustomContentCallbacks;
|
||||
import com.android.launcher3.Launcher.LauncherOverlay;
|
||||
import com.android.launcher3.UninstallDropTarget.UninstallSource;
|
||||
import com.android.launcher3.UninstallDropTarget.DropTargetSource;
|
||||
import com.android.launcher3.accessibility.LauncherAccessibilityDelegate;
|
||||
import com.android.launcher3.accessibility.LauncherAccessibilityDelegate.AccessibilityDragSource;
|
||||
import com.android.launcher3.accessibility.OverviewScreenAccessibilityDelegate;
|
||||
@@ -92,7 +92,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||
public class Workspace extends PagedView
|
||||
implements DropTarget, DragSource, DragScroller, View.OnTouchListener,
|
||||
DragController.DragListener, LauncherTransitionable, ViewGroup.OnHierarchyChangeListener,
|
||||
Insettable, UninstallSource, AccessibilityDragSource, Stats.LaunchSourceProvider {
|
||||
Insettable, DropTargetSource, AccessibilityDragSource, Stats.LaunchSourceProvider {
|
||||
private static final String TAG = "Launcher.Workspace";
|
||||
|
||||
private static boolean ENFORCE_DRAG_EVENT_ORDER = false;
|
||||
@@ -3664,7 +3664,7 @@ public class Workspace extends PagedView
|
||||
|
||||
/// maybe move this into a smaller part
|
||||
@Override
|
||||
public void onUninstallActivityReturned(boolean success) {
|
||||
public void onDragObjectRemoved(boolean success) {
|
||||
mDeferDropAfterUninstall = false;
|
||||
mUninstallSuccessful = success;
|
||||
if (mDeferredAction != null) {
|
||||
|
||||
Reference in New Issue
Block a user