Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java +1 −1 Original line number Diff line number Diff line Loading @@ -279,7 +279,7 @@ public class BubbleExpandedView extends LinearLayout { // If there's a runtime exception here then there's something // wrong with the intent, we can't really recover / try to populate // the bubble again so we'll just remove it. Log.w(TAG, "Exception while displaying bubble: " + getBubbleKey() Log.e(TAG, "Exception while displaying bubble: " + getBubbleKey() + "; removing bubble", e); mManager.removeBubble(getBubbleKey(), Bubbles.DISMISS_INVALID_INTENT); } Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleTaskViewListener.java +1 −1 Original line number Diff line number Diff line Loading @@ -173,7 +173,7 @@ public class BubbleTaskViewListener implements TaskView.Listener { // If there's a runtime exception here then there's something // wrong with the intent, we can't really recover / try to populate // the bubble again so we'll just remove it. Log.w(TAG, "Exception while displaying bubble: " + getBubbleKey() Log.e(TAG, "Exception while displaying bubble: " + getBubbleKey() + "; removing bubble", e); mExpandedViewManager.removeBubble( getBubbleKey(), Bubbles.DISMISS_INVALID_INTENT); Loading libs/WindowManager/Shell/src/com/android/wm/shell/transition/DefaultMixedTransition.java +15 −7 Original line number Diff line number Diff line Loading @@ -329,11 +329,13 @@ class DefaultMixedTransition extends DefaultMixedHandler.MixedTransition { @NonNull SurfaceControl.Transaction finishTransaction, @NonNull Transitions.TransitionFinishCallback finishCallback, @NonNull BubbleTransitions bubbleTransitions) { final Transitions.TransitionHandler handler = bubbleTransitions.getRunningEnterTransition( transition); ProtoLog.v(ShellProtoLogGroup.WM_SHELL_TRANSITIONS, " Animating a mixed transition for " + "entering Bubbles while an app is in the foreground"); + "entering Bubbles while an app is in the foreground by %s", handler); // TODO(b/408328557): Migrate to checking transition token bubbleTransitions.getRunningEnterTransition(transition).startAnimation( transition, info, startTransaction, finishTransaction, finishCallback); handler.startAnimation(transition, info, startTransaction, finishTransaction, finishCallback); return true; } Loading @@ -346,11 +348,13 @@ class DefaultMixedTransition extends DefaultMixedHandler.MixedTransition { @NonNull Transitions.TransitionFinishCallback finishCallback, @NonNull StageCoordinator splitHandler, @NonNull BubbleTransitions bubbleTransitions) { final Transitions.TransitionHandler handler = bubbleTransitions.getRunningEnterTransition( transition); ProtoLog.v(ShellProtoLogGroup.WM_SHELL_TRANSITIONS, " Animating a mixed transition for " + "entering Bubbles while Split-Screen is foreground."); + "entering Bubbles while Split-Screen is foreground by %s", handler); // TODO(b/408328557): Migrate to checking transition token bubbleTransitions.getRunningEnterTransition(transition).startAnimation( transition, info, startTransaction, finishTransaction, finishCallback); handler.startAnimation(transition, info, startTransaction, finishTransaction, finishCallback); return true; } Loading Loading @@ -386,7 +390,11 @@ class DefaultMixedTransition extends DefaultMixedHandler.MixedTransition { + "entering Bubbles from another bubbled task"); boolean started = bubbleTransitions.startBubbleToBubbleLaunch(transition, bubblingTask.getTaskInfo(), handler -> { bubbleTransitions.getRunningEnterTransition(transition).startAnimation( final Transitions.TransitionHandler h = bubbleTransitions .getRunningEnterTransition(transition); ProtoLog.v(ShellProtoLogGroup.WM_SHELL_TRANSITIONS, " Animation played by %s", h); h.startAnimation( transition, info, startTransaction, finishTransaction, finishCallback); }); if (!started) { Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java +1 −1 Original line number Diff line number Diff line Loading @@ -279,7 +279,7 @@ public class BubbleExpandedView extends LinearLayout { // If there's a runtime exception here then there's something // wrong with the intent, we can't really recover / try to populate // the bubble again so we'll just remove it. Log.w(TAG, "Exception while displaying bubble: " + getBubbleKey() Log.e(TAG, "Exception while displaying bubble: " + getBubbleKey() + "; removing bubble", e); mManager.removeBubble(getBubbleKey(), Bubbles.DISMISS_INVALID_INTENT); } Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleTaskViewListener.java +1 −1 Original line number Diff line number Diff line Loading @@ -173,7 +173,7 @@ public class BubbleTaskViewListener implements TaskView.Listener { // If there's a runtime exception here then there's something // wrong with the intent, we can't really recover / try to populate // the bubble again so we'll just remove it. Log.w(TAG, "Exception while displaying bubble: " + getBubbleKey() Log.e(TAG, "Exception while displaying bubble: " + getBubbleKey() + "; removing bubble", e); mExpandedViewManager.removeBubble( getBubbleKey(), Bubbles.DISMISS_INVALID_INTENT); Loading
libs/WindowManager/Shell/src/com/android/wm/shell/transition/DefaultMixedTransition.java +15 −7 Original line number Diff line number Diff line Loading @@ -329,11 +329,13 @@ class DefaultMixedTransition extends DefaultMixedHandler.MixedTransition { @NonNull SurfaceControl.Transaction finishTransaction, @NonNull Transitions.TransitionFinishCallback finishCallback, @NonNull BubbleTransitions bubbleTransitions) { final Transitions.TransitionHandler handler = bubbleTransitions.getRunningEnterTransition( transition); ProtoLog.v(ShellProtoLogGroup.WM_SHELL_TRANSITIONS, " Animating a mixed transition for " + "entering Bubbles while an app is in the foreground"); + "entering Bubbles while an app is in the foreground by %s", handler); // TODO(b/408328557): Migrate to checking transition token bubbleTransitions.getRunningEnterTransition(transition).startAnimation( transition, info, startTransaction, finishTransaction, finishCallback); handler.startAnimation(transition, info, startTransaction, finishTransaction, finishCallback); return true; } Loading @@ -346,11 +348,13 @@ class DefaultMixedTransition extends DefaultMixedHandler.MixedTransition { @NonNull Transitions.TransitionFinishCallback finishCallback, @NonNull StageCoordinator splitHandler, @NonNull BubbleTransitions bubbleTransitions) { final Transitions.TransitionHandler handler = bubbleTransitions.getRunningEnterTransition( transition); ProtoLog.v(ShellProtoLogGroup.WM_SHELL_TRANSITIONS, " Animating a mixed transition for " + "entering Bubbles while Split-Screen is foreground."); + "entering Bubbles while Split-Screen is foreground by %s", handler); // TODO(b/408328557): Migrate to checking transition token bubbleTransitions.getRunningEnterTransition(transition).startAnimation( transition, info, startTransaction, finishTransaction, finishCallback); handler.startAnimation(transition, info, startTransaction, finishTransaction, finishCallback); return true; } Loading Loading @@ -386,7 +390,11 @@ class DefaultMixedTransition extends DefaultMixedHandler.MixedTransition { + "entering Bubbles from another bubbled task"); boolean started = bubbleTransitions.startBubbleToBubbleLaunch(transition, bubblingTask.getTaskInfo(), handler -> { bubbleTransitions.getRunningEnterTransition(transition).startAnimation( final Transitions.TransitionHandler h = bubbleTransitions .getRunningEnterTransition(transition); ProtoLog.v(ShellProtoLogGroup.WM_SHELL_TRANSITIONS, " Animation played by %s", h); h.startAnimation( transition, info, startTransaction, finishTransaction, finishCallback); }); if (!started) { Loading