The transition from a widget to the splash screen icon feels
odd because of the difference in shapes. Disable for S and rework that
in T.
Test: Manually tested with clock and Calendar
Bug: 197504657
Change-Id: Ia375885af967d6ad282dcc7325ad905731c8734d
Set the flag to use the icon splash screen rather than the empty splash
screen when starting an activity from a widget interaction.
Bug: 191738655
Test: manual
Change-Id: Iff771a43648bbf6dfb88e2a6749c4526fd17da07
Sometimes onAnimaitonCancelled can be called without onCreate. Calling
onEnd in this case so that the sate is cleared
Removing additional subclassing for the runner
Bug: 190856140
Test: Manual
Change-Id: If105cb343cab446a4eac90a45184ce50c6e4c485
With the current implementation, all interactions happen on the main
view, preventing any button or clickable object from working.
Fix: 188775840
Test: Using an App Widget with checkboxes
Change-Id: I1ec6391a36b6a3795545acb5e08dde0d3a2b2ac8
Widgets are permitted to start broadcast receivers which launch
activities, otherwise known as a broadcast trampoline. Unfortunately,
launch animations provided through ActivityOptions are not applied to
the activity launch.
If a widget interaction's pending intent is not an activity, set a
return animation for the next activity start, in the event it starts an
activity.
Bug: 169042867
Test: presubmit
Change-Id: Ibbee9cadcd5153e285433fcb1b8038d77b1384a2
Include the NEW_TASK flag to activity starts launched from Quickstep
hosted App Widgets.
This is consistent with the default non-Quickstep generated
ActivityOptions from RemoteViews::getLaunchOptions.
Bug: 169042867
Test: manual
Change-Id: Iba370731f4126d92a11a4e348e74888b533d4d8b
If an app has been most recently launched from an app widget, when
swiped away, the app animates to the widget's position.
This is done by attributing the app launch to the widget through
the ActivityOptions's launch cookies, and using a FloatingWidgetView
throughout the animation.
Bug: 169042867
Test: manual
Change-Id: I24c2623b5b3407504a4768b076849c47f73cbae0
Set a Quickstep specific InteractionHandler on QuickstepLauncher's
AppWidgetHost, which provides QuickstepTransitionManager-generated
ActivityOptions when starting activities from app widget interactions.
Bug: 169042867
Test: manual
Topic: quickstep-widget-app-launch
Change-Id: I231122b09aede940c047f19a5b5d1e7c562f6d3f