Commit Graph

2189 Commits

Author SHA1 Message Date
TreeHugger Robot a273eafec4 Merge "Initializing ActivityManagerWrapper before device unlock" into ub-launcher3-qt-dev 2019-06-12 18:22:12 +00:00
TreeHugger Robot 89e8e955cb Merge "Removing unused method" into ub-launcher3-qt-dev 2019-06-12 18:19:32 +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 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
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
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
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 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
Tony Wickham 0bdd28e204 Fix double swipe on nav bar from an app
Use normal OverviewInputConsumer instead of
OverviewWithoutFocusInputConsumer if we are animating to launcher. This
allows launcher to properly handle a second swipe in the nav region.

Test: enable 2-button mode, double swipe up on nav bar to all apps

Bug: 135050372
Change-Id: I0b96f6236bed4f9ac3284a921e4259e1b0d00c75
2019-06-11 14:41:57 -07:00
Tracy Zhou 6594390a79 Check if RecentsView is null before setting live tile icon.
Fixes: 134969824
Test: N/A
Change-Id: Ibd6d8ec729c6809d385ea5f0153ae7ff376801b9
2019-06-11 13:42:25 -07:00
Tony Wickham 87cfe640c2 Fix state/anim clobbering when touching down during recents animation
Addresses 2 problems:
- Set mLauncherTransitionController = null after ending it, to prevent a
  subsequent end from re-setting OVERVIEW state.
- Cancel the shelf animation so that it doesn't clobber the animation to
  all apps (for instance).

Bug: 134309036
Bug: 134309189
Change-Id: I019084a1ba38c6208a6256843cb5c4b6dbb4a662
2019-06-11 13:01:17 -07:00
Tony Wickham afff47d4a5 Merge "Fix potential NPE in BackgroundAppState" into ub-launcher3-qt-dev
am: 6129e4737c

Change-Id: Ifb7aeb3ba9b3cf31b8d3b7d05553e11e88c1d16e
2019-06-11 12:44:11 -07:00
TreeHugger Robot 6129e4737c Merge "Fix potential NPE in BackgroundAppState" into ub-launcher3-qt-dev 2019-06-11 19:25:39 +00:00
Tony Wickham f0d2e0064e Fix potential NPE in BackgroundAppState
Bug: 134559760
Change-Id: I08be7563ec8306ede6c0c7e62b0b5fc0a7c5f998
2019-06-11 12:08:36 -07:00
vadimt 8f9cf2f38f Calling sendStateEventToTest() from a place guaranteed to be called
See discussion in the bug

Bug: 133867119
Change-Id: Id162cfa3b0a0aafe17dd9b41e2c4b5d02c411830
2019-06-10 18:01:58 -07:00
Sunny Goyal 615d893cb7 Merge "Fixing some thread errors in TouchInteractionService" into ub-launcher3-qt-dev
am: 1a66df255a

Change-Id: I16036763c01935133f39851acb3cc1a984e6be51
2019-06-10 17:51:31 -07:00
TreeHugger Robot 1a66df255a Merge "Fixing some thread errors in TouchInteractionService" into ub-launcher3-qt-dev 2019-06-10 23:39:02 +00:00
Sunny Goyal 47860cf593 Fixing some thread errors in TouchInteractionService
Accessing internal objects only on the main thread and after the user has been unlocked.

Bug: 134971634
Change-Id: Iaf6a1e3ab9417836c5d34673997b0a03a76862c1
2019-06-10 16:30:11 -07:00
Zak Cohen 153f511ec5 Merge "Task footer - use temporary motion for show and hide." into ub-launcher3-qt-r1-dev 2019-06-10 23:07:41 +00:00
Tony Wickham a0a0bc3413 Merge "Translate recents when attaching to app window instead of fading" into ub-launcher3-qt-dev
am: 0234edeb08

Change-Id: I0d4d559518d8202a40957a3c5c1e90ed72745a66
2019-06-10 15:41:20 -07:00
TreeHugger Robot 0234edeb08 Merge "Translate recents when attaching to app window instead of fading" into ub-launcher3-qt-dev 2019-06-10 22:24:44 +00:00
Tony Wickham fa37c529e1 Translate recents when attaching to app window instead of fading
When attaching recents, translate it offscreen and use a spring to pull it
into position. When detaching, use the same spring to pull it back offscreen.

Bug: 129985827
Change-Id: I05339e2ec0932070365023bfafc83cbf2a4e178e
2019-06-10 15:15:40 -07:00
vadimt 9ae006222c Merge "Not assuming that the activity is Launcher for the fallback recents" into ub-launcher3-qt-dev
am: e61c8343e1

Change-Id: I77694efb0d152905da60c19ef1ddccd808a5db0e
2019-06-10 13:04:43 -07:00
vadimt 915fd75fae Not assuming that the activity is Launcher for the fallback recents
Bug: 134919468
Change-Id: Ibb3b11a5bf57848212c806f2023e4cf43c8a862b
2019-06-10 12:24:10 -07:00
Sunny Goyal 21e1a4275f Removing unused method
Change-Id: I25016d58b130e99c8983af48fde32e05bf6c66b1
2019-06-07 14:14:57 -07:00
vadimt 51d2cf913c Merge "Add tracing for b/134532571" into ub-launcher3-qt-dev
am: bfe171f9cb

Change-Id: I86539398e74beb527cbede66143ff1c61990cca8
2019-06-06 17:31:41 -07:00
TreeHugger Robot bfe171f9cb Merge "Add tracing for b/134532571" into ub-launcher3-qt-dev 2019-06-07 00:10:30 +00:00
vadimt 0f08db5eeb Add tracing for b/134532571
Bug: 134172603
Bug: 134532571
Change-Id: I75c8e0212a9b35d33842d5380fbe733b486be932
2019-06-06 17:00:57 -07:00
Sunny Goyal bbbfc62c63 Merge "Disable seamless rotation for 3 and 2 button mode" into ub-launcher3-qt-dev
am: 19f7c6fefb

Change-Id: Iec2636f14a157e9a9b5e9c47e1c258b9158dc942
2019-06-06 15:58:04 -07:00
TreeHugger Robot 19f7c6fefb Merge "Disable seamless rotation for 3 and 2 button mode" into ub-launcher3-qt-dev 2019-06-06 22:45:47 +00:00
Sunny Goyal 0b1cb75ee8 Disable seamless rotation for 3 and 2 button mode
Bug: 134095068
Change-Id: I8603e49a85b5524a02c9085485a180b022e3f91e
2019-06-06 15:35:45 -07:00
Zak Cohen f1128d9f5e Task footer - use temporary motion for show and hide.
Bug: 125844074
Test: manual

Change-Id: I9a26760f4bd976d0c3475db1322ee0da639d8209
2019-06-06 14:37:19 -07:00
Vadim Tryshev 9788fbda66 Merge "Test: using RuleChain to create a correct order of rules." into ub-launcher3-qt-dev
am: 8278148e41

Change-Id: I764fef9315039c1272b63495c261a5ec83839220
2019-06-06 14:31:43 -07:00
Vadim Tryshev 8278148e41 Merge "Test: using RuleChain to create a correct order of rules." into ub-launcher3-qt-dev 2019-06-06 21:20:50 +00:00
vadimt 44e9a873fc Test: using RuleChain to create a correct order of rules.
Change-Id: I2eeb933eab8e5f19b1f80d47566a511ddbdeb28b
2019-06-06 14:02:33 -07:00
Jon Miranda 9c078a6b99 Merge "Reduce alpha delay 25ms to reduce flashy feeling of appearing large." into ub-launcher3-qt-dev
am: 256762251e

Change-Id: I99bd2383244e0b753ee18cb8657efe0bd0b676d0
2019-06-06 12:58:20 -07:00
TreeHugger Robot 256762251e Merge "Reduce alpha delay 25ms to reduce flashy feeling of appearing large." into ub-launcher3-qt-dev 2019-06-06 19:48:42 +00:00
Sunny Goyal f95a845924 Merge "Using a separate InputConsumer when Launcher is resumed but not focused" into ub-launcher3-qt-dev
am: 7183795ff8

Change-Id: Idafa9bc76dc8d22b3f69388824859d86e0737a81
2019-06-06 12:13:57 -07:00
Tony Wickham d5270da80d Merge "Fix flicker to OVERVIEW state during quick switch" into ub-launcher3-qt-dev
am: 215ab0ca87

Change-Id: I04e1068111893c41a6ade925daf3f37259e0591f
2019-06-06 12:07:54 -07:00
TreeHugger Robot 7183795ff8 Merge "Using a separate InputConsumer when Launcher is resumed but not focused" into ub-launcher3-qt-dev 2019-06-06 19:06:30 +00:00
Sunny Goyal 6f479ff9de Using a separate InputConsumer when Launcher is resumed but not focused
When Launcher is not focused and we try to dispatch events to Launcher, it
can lead to a inconsistent state. For eg, NavBarTouchController was trying
to take launcher from NORMAL to NORMAL state causing the endCallback to be
called immediately, which in turn didn't clear Swipedetetor state

Bug: 132209249
Bug: 132815672
Change-Id: I82e4fdcb8fd5339e82fc8551f3a6e0b046d906f8
2019-06-06 11:57:54 -07:00
Tony Wickham 215ab0ca87 Merge "Fix flicker to OVERVIEW state during quick switch" into ub-launcher3-qt-dev 2019-06-06 18:55:14 +00:00
vadimt 77d4204544 Temporarily not using RuleChain as it mysteriously breaks tests
am: 63013c5e57

Change-Id: I0e105abbf0f3a52124f40a44ba4c5f0cc2bc2fc8
2019-06-05 19:55:38 -07:00
Sunny Goyal 5db7cb9c2d Merge "Fixing wrong origin when launching new task from overview" into ub-launcher3-qt-dev
am: bfaabbea81

Change-Id: Ie0939ae8c5286631da3ef08ffaf0151bdc81c7e6
2019-06-05 19:54:59 -07:00
vadimt 63013c5e57 Temporarily not using RuleChain as it mysteriously breaks tests
Change-Id: I8bdd9a8ea12cfdbd92fe724181e7479cadcb26fe
2019-06-05 18:34:23 -07:00