Commit Graph
47938 Commits
Author SHA1 Message Date
vadimt 87fbd33a37 Not using settings app in tests
Change-Id: I7542dab07a0d5a76cc90f4b5eee0d376b5d8ca11
2019-06-12 15:26:27 -07:00
Tony Wickham e8836dc082 Gracefully handle failed task launches during quick switch
When quick switching from home or overview, go to OverviewState if the
task launch failed. Otherwise we get stuck in BackgroundAppState.

Bug: 135038270
Change-Id: I42785c261cef0df95666bc106ec5ca6ef0553cc7
2019-06-12 15:24:58 -07:00
Sunny Goyal d86c59c04e Updating consumed insets when dispatching to child views am: 022b182634
am: 6f5de106fe

Change-Id: I97b2c6541a8ec44219c234c638d97c54e0c9e8b7
2019-06-12 14:48:22 -07:00
Sunny Goyal 6f5de106fe Updating consumed insets when dispatching to child views
am: 022b182634

Change-Id: I1eb89e67a0503350ca1c5ba9161de22510b1a417
2019-06-12 14:32:14 -07:00
Sunny Goyal faf50e511e Merge "Resetting taskView alpha to proper value onAnimationEnd" into ub-launcher3-qt-dev am: c9e6f23658
am: 2e631e4ca1

Change-Id: I0811ff15649e975dd1f827dcf7e1de21240de755
2019-06-12 12:25:58 -07:00
Sunny Goyal 2e631e4ca1 Merge "Resetting taskView alpha to proper value onAnimationEnd" into ub-launcher3-qt-dev
am: c9e6f23658

Change-Id: I204cb92c830c9b14dc9872ac5ea323bb6c166ce8
2019-06-12 12:20:57 -07:00
Sunny Goyal 022b182634 Updating consumed insets when dispatching to child views
Bug: 134963243
Change-Id: I4fa072128398cfd22b906037c6c444495781c9d0
2019-06-12 12:15:16 -07:00
TreeHugger Robot c9e6f23658 Merge "Resetting taskView alpha to proper value onAnimationEnd" into ub-launcher3-qt-dev 2019-06-12 19:03:33 +00:00
Sunny Goyal 580e101e71 Do not rebind when when deviceProfile has not changed am: c8502c1df5
am: 1d48c43626

Change-Id: I707cb2fd3a711a8d5ca45b66179e390657d4deac
2019-06-12 11:46:50 -07:00
Sunny Goyal dc48cf3de4 Merge "Initializing ActivityManagerWrapper before device unlock" into ub-launcher3-qt-dev am: a273eafec4
am: 0aabc84de6

Change-Id: I31d40f5a91ae6bc85f1d960b63612a81c62dda73
2019-06-12 11:46:27 -07:00
Sunny Goyal 2dec2f5114 Merge "Removing unused method" into ub-launcher3-qt-dev am: 89e8e955cb
am: 3fd67359c5

Change-Id: I14ffd69040628d7c846e3543dbd2ac819851606e
2019-06-12 11:46:09 -07:00
Sunny Goyal 927bd6988d Merge "Saving instance state so that widget cache is updated properly before rebind" into ub-launcher3-qt-dev am: 98cf5545e5
am: 5a678125e3

Change-Id: If23298992dead85a9015786a97291d590d115672
2019-06-12 11:45:50 -07:00
Sunny Goyal 1d48c43626 Do not rebind when when deviceProfile has not changed
am: c8502c1df5

Change-Id: I0534a547468601a099899b6e05aeaea148a68b42
2019-06-12 11:40:49 -07:00
Sunny Goyal 0aabc84de6 Merge "Initializing ActivityManagerWrapper before device unlock" into ub-launcher3-qt-dev
am: a273eafec4

Change-Id: I43fe9ef614d896e771de233d29c1c172eeb92190
2019-06-12 11:34:22 -07:00
Sunny Goyal 3fd67359c5 Merge "Removing unused method" into ub-launcher3-qt-dev
am: 89e8e955cb

Change-Id: I8cf11c2975d735a7cbaeb42d759359847b47ea46
2019-06-12 11:34:06 -07:00
Sunny Goyal 5a678125e3 Merge "Saving instance state so that widget cache is updated properly before rebind" into ub-launcher3-qt-dev
am: 98cf5545e5

Change-Id: I4123cb3049d0d2b4d2a83ccfb4194b9e6d29ae2a
2019-06-12 11:33:47 -07:00
Sunny Goyal 8f6fe03d60 Merge "Bypass systemstate check when using shared state" into ub-launcher3-qt-dev am: 329097b179
am: e27dbf2d74

Change-Id: Iaf2a7321630660eaa164daca427310ba3c79669f
2019-06-12 11:27:41 -07:00
Sunny Goyal c8502c1df5 Do not rebind when when deviceProfile has not changed
This avoids UI flicker when using fakeLandscape UI during swipe-up animation

Bug: 131360075
Change-Id: I651e0acb79b54be66b93c746eed6e9b099f2f767
2019-06-12 11:25:26 -07:00
TreeHugger Robot a273eafec4 Merge "Initializing ActivityManagerWrapper before device unlock" into ub-launcher3-qt-dev 2019-06-12 18:22:12 +00:00
Sunny Goyal e27dbf2d74 Merge "Bypass systemstate check when using shared state" into ub-launcher3-qt-dev
am: 329097b179

Change-Id: I4f9f26cda32ddd45e3d6e32879832a78b86f744c
2019-06-12 11:20:39 -07:00
TreeHugger Robot 89e8e955cb Merge "Removing unused method" into ub-launcher3-qt-dev 2019-06-12 18:19:32 +00:00
TreeHugger Robot 98cf5545e5 Merge "Saving instance state so that widget cache is updated properly before rebind" into ub-launcher3-qt-dev 2019-06-12 18:15:22 +00:00
TreeHugger Robot 329097b179 Merge "Bypass systemstate check when using shared state" into ub-launcher3-qt-dev 2019-06-12 18:03:26 +00:00
Tony Wickham 4f7f5b8797 Merge changes I0b96f623,I019084a1 into ub-launcher3-qt-dev am: 503f46185a
am: 4ac2a3668b

Change-Id: I1bd8d25da249b44708a0a559d1cb9047f55bf753
2019-06-12 11:00:34 -07:00
Tony Wickham 4ac2a3668b Merge changes I0b96f623,I019084a1 into ub-launcher3-qt-dev
am: 503f46185a

Change-Id: I920fc80aa61b89814c5873339be744ea4c6af0b9
2019-06-12 10:57:33 -07:00
Sunny Goyal c96a85c9e9 Merge "Merge branch 'ub-launcher3-qt-r1-dev' into ub-launcher3-qt-dev" into ub-launcher3-qt-dev am: 58dc1cfc61
am: de359dd64a

Change-Id: I9c04ab6edeba42ef28e962ecac8cc9fea18257d9
2019-06-12 10:56:33 -07:00
Sunny Goyal de359dd64a Merge "Merge branch 'ub-launcher3-qt-r1-dev' into ub-launcher3-qt-dev" into ub-launcher3-qt-dev
am: 58dc1cfc61

Change-Id: I620c618124402933cb1334d0de2a46fec51c9a3c
2019-06-12 10:51:34 -07:00
Tony Wickham 503f46185a Merge changes I0b96f623,I019084a1 into ub-launcher3-qt-dev
* changes:
  Fix double swipe on nav bar from an app
  Fix state/anim clobbering when touching down during recents animation
2019-06-12 17:50:16 +00:00
Winson Chung 3352687ed6 Merge "Reset the overview sysui state when returning to the previous task" into ub-launcher3-qt-dev am: 2fb6a4cfc9
am: 32c64b5c96

Change-Id: I35703707e504ddc720257369dcb534fe61789204
2019-06-12 10:44:28 -07:00
TreeHugger Robot 58dc1cfc61 Merge "Merge branch 'ub-launcher3-qt-r1-dev' into ub-launcher3-qt-dev" into ub-launcher3-qt-dev 2019-06-12 17:40:06 +00:00
Winson Chung 32c64b5c96 Merge "Reset the overview sysui state when returning to the previous task" into ub-launcher3-qt-dev
am: 2fb6a4cfc9

Change-Id: I271825e6440e1b05063202993f3679a6b71d8875
2019-06-12 10:38:26 -07:00
Winson Chung 2fb6a4cfc9 Merge "Reset the overview sysui state when returning to the previous task" into ub-launcher3-qt-dev 2019-06-12 17:27:32 +00:00
Sunny Goyal eff772457d Merge branch 'ub-launcher3-qt-r1-dev' into ub-launcher3-qt-dev
Change-Id: If7adf6f7d151175a71ff54944970151c3510d990
2019-06-12 17:26:45 +00:00
Jon Miranda dbfe998db9 Fix bug where recents animation is out of sync.
This is caused by recent change where we animate RecentsView instead of the
individual tasks when we are launching the center task.

The fix is to not apply scale/translation to the individual tasks when we are
launching the center task.

Bug: 133450867
Change-Id: I463b5819c6c253001752c3dafdbd61009deba8b4
2019-06-12 09:40:11 -07:00
Sunny Goyal d0308dbd14 Resetting taskView alpha to proper value onAnimationEnd
Bug: 135114549
Change-Id: I4effc4c9d8e6c03e41c8f06c441477076ce7a622
2019-06-12 09:11:04 -07:00
Sunny Goyal a029a8b2d5 Bypass systemstate check when using shared state
System state can change using the interaction, for eg: an app can
enter  immersive mode in the middle of quickswitch. Ignore such changes
to prevent system gestures getting blocked by an app

> Fixing nullpointer in device locked consumer construction when user is not locked yet
> Creating a fallback resetGesture input consumer, which cancels any pending transition
  in case we missed to cancel it

Bug: 134091263
Bug: 134406364
Change-Id: Iafc4e53691f50862b013ad9c4023839044cf1d72
2019-06-12 14:42:38 +00:00
Sunny Goyal a327e6a3d1 Initializing ActivityManagerWrapper before device unlock
Bug: 134406364
Change-Id: I30339c3790efeaa60db7ea3cbae76d97474c16cc
2019-06-12 07:41:50 -07:00
Sunny Goyal a0f9110e52 Adding support for custom callback when starting ProxyActivity
Bug: 133443741
Change-Id: Ifd6a289b7f49d52efe0767b600cecc2b460a87fc
2019-06-12 00:20:07 -07:00
vadimt e87b4bc6ad Merge "Calling sendStateEventToTest() from a place guaranteed to be called" into ub-launcher3-qt-dev am: c1fa3abd2e
am: 63a3846b56

Change-Id: Id78ed0b6a8f1144e8f2213640a03ec5e93ac2d6e
2019-06-11 17:42:16 -07:00
vadimt 63a3846b56 Merge "Calling sendStateEventToTest() from a place guaranteed to be called" into ub-launcher3-qt-dev
am: c1fa3abd2e

Change-Id: I90802248680747645bc975e81fb4fe477f2db679
2019-06-11 17:31:17 -07:00
TreeHugger Robot c1fa3abd2e Merge "Calling sendStateEventToTest() from a place guaranteed to be called" into ub-launcher3-qt-dev 2019-06-12 00:12:08 +00:00
Winson Chung a36c8004ed Reset the overview sysui state when returning to the previous task
- Otherwise, it gets stuck until the next time launcher pauses/task launch

Bug: 135008910
Change-Id: Ia0696d764522e36a4064583cb82003c1e9c0cb7a
2019-06-11 16:53:01 -07:00
Tony Wickham 71efefaf9b Merge "Tweak spring stiffness/damping for attaching recents" into ub-launcher3-qt-dev am: 070866931b
am: f40276133f

Change-Id: I2768b2d968e8c55a8c8d17bbfe0b59064582e6b7
2019-06-11 16:08:45 -07:00
Tony Wickham f40276133f Merge "Tweak spring stiffness/damping for attaching recents" into ub-launcher3-qt-dev
am: 070866931b

Change-Id: I71bf6a8dac3a4243b5ac67bdff9a829db0966b8e
2019-06-11 16:02:43 -07:00
TreeHugger Robot 070866931b Merge "Tweak spring stiffness/damping for attaching recents" into ub-launcher3-qt-dev 2019-06-11 22:49:20 +00:00
Tracy Zhou cf7af74edd Merge "Check if RecentsView is null before setting live tile icon." into ub-launcher3-qt-dev am: fc1db5861a
am: 7c5d95fdd2

Change-Id: I168f760d220f81f4417cb4e072ae29024b54092d
2019-06-11 15:43:58 -07:00
Tracy Zhou 7c5d95fdd2 Merge "Check if RecentsView is null before setting live tile icon." into ub-launcher3-qt-dev
am: fc1db5861a

Change-Id: I939827655df665fed9598dc4bc3d8b3d72be35cc
2019-06-11 15:39:56 -07:00
Tracy Zhou fc1db5861a Merge "Check if RecentsView is null before setting live tile icon." into ub-launcher3-qt-dev 2019-06-11 22:31:20 +00:00
Tony Wickham 91683e2bc8 Tweak spring stiffness/damping for attaching recents
Bug: 129985827
Change-Id: Ife70528a3cdc101260df3425ec0501b318d558e7
2019-06-11 15:25:54 -07:00
Winson Chung 586e7415b5 Merge "Defer listening for notification changes until resume" into ub-launcher3-qt-dev am: ca29259673
am: ee15e52258

Change-Id: Id68d3a8a0c74c213b1901c4c1e4b1e76b71cbcf6
2019-06-11 15:10:48 -07:00