am af63581c: Merge "Add Launcher.onDragStarted" into ub-now-mister-ugly
* commit 'af63581cb6e6db0e58e292905b69b7a04383211f': Add Launcher.onDragStarted
This commit is contained in:
@@ -2596,6 +2596,8 @@ public class Launcher extends Activity
|
||||
}
|
||||
}
|
||||
|
||||
public void onDragStarted(View view) {}
|
||||
|
||||
/**
|
||||
* Called when the user stops interacting with the launcher.
|
||||
* This implies that the user is now on the homescreen and is not doing housekeeping.
|
||||
|
||||
@@ -2598,6 +2598,7 @@ public class Workspace extends SmoothPagedView
|
||||
}
|
||||
|
||||
public void beginDragShared(View child, DragSource source) {
|
||||
mLauncher.onDragStarted(child);
|
||||
// The drag bitmap follows the touch point around on the screen
|
||||
final Bitmap b = createDragBitmap(child, new Canvas(), DRAG_BITMAP_PADDING);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user