Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java +14 −0 Original line number Diff line number Diff line Loading @@ -2643,6 +2643,15 @@ public class BubbleController implements ConfigurationChangeListener, mBubbleData.setSelectedBubbleAndExpandStack(bubbleToSelect); } private void moveBubbleToFullscreen(String key) { Bubble b = mBubbleData.getBubbleInStackWithKey(key); if (b == null) { Log.w(TAG, "can't find bubble with key " + key + " to move to fullscreen"); return; } b.getTaskView().moveToFullscreen(); } private boolean isDeviceLocked() { return !mIsStatusBarShade; } Loading Loading @@ -2929,6 +2938,11 @@ public class BubbleController implements ConfigurationChangeListener, } }); } @Override public void moveBubbleToFullscreen(String key) { mMainExecutor.execute(() -> mController.moveBubbleToFullscreen(key)); } } private class BubblesImpl implements Bubbles { Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleData.java +0 −1 Original line number Diff line number Diff line Loading @@ -1236,7 +1236,6 @@ public class BubbleData { /** @return the bubble in the stack that matches the provided key. */ @Nullable @VisibleForTesting(visibility = PRIVATE) public Bubble getBubbleInStackWithKey(String key) { return getBubbleWithPredicate(mBubbles, b -> b.getKey().equals(key)); } Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/IBubbles.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -58,4 +58,6 @@ interface IBubbles { oneway void showExpandedView() = 14; oneway void showDropTarget(in boolean show, in @nullable BubbleBarLocation location) = 15; oneway void moveBubbleToFullscreen(in String key) = 16; } No newline at end of file Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java +14 −0 Original line number Diff line number Diff line Loading @@ -2643,6 +2643,15 @@ public class BubbleController implements ConfigurationChangeListener, mBubbleData.setSelectedBubbleAndExpandStack(bubbleToSelect); } private void moveBubbleToFullscreen(String key) { Bubble b = mBubbleData.getBubbleInStackWithKey(key); if (b == null) { Log.w(TAG, "can't find bubble with key " + key + " to move to fullscreen"); return; } b.getTaskView().moveToFullscreen(); } private boolean isDeviceLocked() { return !mIsStatusBarShade; } Loading Loading @@ -2929,6 +2938,11 @@ public class BubbleController implements ConfigurationChangeListener, } }); } @Override public void moveBubbleToFullscreen(String key) { mMainExecutor.execute(() -> mController.moveBubbleToFullscreen(key)); } } private class BubblesImpl implements Bubbles { Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleData.java +0 −1 Original line number Diff line number Diff line Loading @@ -1236,7 +1236,6 @@ public class BubbleData { /** @return the bubble in the stack that matches the provided key. */ @Nullable @VisibleForTesting(visibility = PRIVATE) public Bubble getBubbleInStackWithKey(String key) { return getBubbleWithPredicate(mBubbles, b -> b.getKey().equals(key)); } Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/IBubbles.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -58,4 +58,6 @@ interface IBubbles { oneway void showExpandedView() = 14; oneway void showDropTarget(in boolean show, in @nullable BubbleBarLocation location) = 15; oneway void moveBubbleToFullscreen(in String key) = 16; } No newline at end of file