IPC for app icons drag events over the Bubble Bar
Added an IPC call to inform the Bubble Bar in the launcher process of drag events from the shell. Bug: 388894910 Flag: com.android.wm.shell.enable_bubble_bar Test: Manual. Check that events from the shell process successfully reach the launcher process. Change-Id: I01615911ce7e4250138aedaa5823f639b9163ff0
This commit is contained in:
1 parent
bc3995222b
commit
5d904e0f67
1 file changed
+13
@@ -34,6 +34,7 @@ import android.os.Bundle;
|
||||
import android.os.SystemProperties;
|
||||
import android.util.ArrayMap;
|
||||
import android.util.Log;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.android.launcher3.taskbar.TaskbarSharedState;
|
||||
import com.android.launcher3.taskbar.bubbles.stashing.BubbleStashController;
|
||||
@@ -589,6 +590,18 @@ public class BubbleBarController extends IBubblesListener.Stub {
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDragItemOverBubbleBarDragZone(BubbleBarLocation location) {
|
||||
//TODO(b/388894910): add meaningful implementation
|
||||
MAIN_EXECUTOR.execute(() ->
|
||||
Toast.makeText(mContext, "onDragItemOver " + location, Toast.LENGTH_SHORT).show());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onItemDraggedOutsideBubbleBarDropZone() {
|
||||
|
||||
}
|
||||
|
||||
/** Notifies WMShell to show the expanded view. */
|
||||
void showExpandedView() {
|
||||
mSystemUiProxy.showExpandedView();
|
||||
|
||||
Reference in new issue
Block a user