Commit Graph

6193 Commits

Author SHA1 Message Date
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 c1c8b47352 Merge "Fix potential NPE in BackgroundAppState" into ub-launcher3-qt-dev am: 6129e4737c
am: afff47d4a5

Change-Id: I3d2a3105bc41c86430c361d24e7e7bdd9118024c
2019-06-11 12:51:13 -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
Sunny Goyal e7a867b4d0 Merge "Fixing some thread errors in TouchInteractionService" into ub-launcher3-qt-dev am: 1a66df255a
am: 615d893cb7

Change-Id: Id2fd93a16772c2a633351aa510fa972fd962a890
2019-06-10 18:07:25 -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
Zak Cohen 5dcb0221c5 Merge "Task footer - use temporary motion for show and hide." into ub-launcher3-qt-r1-dev
am: 153f511ec5

Change-Id: I708ebceda40105a0a5309f988e94491ca5553f01
2019-06-10 17:06:03 -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 dca4165b54 Merge "Translate recents when attaching to app window instead of fading" into ub-launcher3-qt-dev am: 0234edeb08
am: a0a0bc3413

Change-Id: Id285ebbf3648e448896de7c110d9b420259f201f
2019-06-10 15:47:21 -07: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 a2f52887bc Merge "Not assuming that the activity is Launcher for the fallback recents" into ub-launcher3-qt-dev am: e61c8343e1
am: 9ae006222c

Change-Id: I32187cf4fa8870caf5f958f281effefff1191365
2019-06-10 13:10:44 -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
Winson Chung 0ea61abe10 Merging ub-launcher3-qt-dev, build 5642962
Test: Manual

Bug:122345781 P1 Inflation happens and a binder call during swipe up gesture, that may cause jank
Bug:123900446 P1 App to home animation should zoom into the app icon
Bug:132209249 P1 Gesture bar interferes with Messenger chat heads.
Bug:132815672 P1 -1 to home swipe up gesture
Bug:132886768 P1 Swipe home animation sometimes drops frames
Bug:133009122 P2 Rare flake: dragged launchable to workspace, but the current state is not WORKSPACE; Can't find a launcher object; selector: BySelector [RES='\Qcom.google.android.apps.nexuslauncher:id/apps_view\E']
Bug:133226418 P1 [Gesture Nav] App launch animation has has incorrect origin when launched in Overview
Bug:133508173 P1 App switching is very janky on QT
Bug:133871965 P1 (V35 20190528.00_RC00):Unable to unlock/minimize phone app during ongoing call
Bug:134095068 P1 Shouldn't use seamless rotation in another case
Bug:134166337 P1 3P Launcher Breaks Overview (Standalone)
Bug:134172603 P1 Tracing for lab-only flakes
Bug:134517106 P1 Swipe up to home should fade out scrim
Bug:134532571 P1 Launcher flake: java.lang.AssertionError: http://go/tapl : want to switch from background to overview, but the current state is not BASE_OVERVIEW; Can't find a launcher object; selector: BySelector [RES='\Qcom.google.android.apps.nexuslauncher:id/overview_panel\E']
Bug:134674880 P1 App group name in expanded view is invisible with white wallpaper
Change-Id: I9bca7db0f03bd4c0581ce946646bf5209e8f6c79
2019-06-07 13:36:20 -07:00
vadimt fd7c74902e Merge "Add tracing for b/134532571" into ub-launcher3-qt-dev am: bfe171f9cb
am: 51d2cf913c

Change-Id: If79dd5975bb388d076f5b25855f4e97b67fe7f02
2019-06-06 17:39:04 -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 697a0d24a1 Merge "Disable seamless rotation for 3 and 2 button mode" into ub-launcher3-qt-dev am: 19f7c6fefb
am: bbbfc62c63

Change-Id: Ibca905382038c71311c242d13a6146b604608376
2019-06-06 16:03:05 -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 9ddc79deb1 Merge "Test: using RuleChain to create a correct order of rules." into ub-launcher3-qt-dev am: 8278148e41
am: 9788fbda66

Change-Id: I373623561bd386c84e11f362c922b23da71f8d23
2019-06-06 14:36:43 -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 fada1815a9 Merge "Reduce alpha delay 25ms to reduce flashy feeling of appearing large." into ub-launcher3-qt-dev am: 256762251e
am: 9c078a6b99

Change-Id: I08724d519ac84e8a52fcfcb409963205a4b1d5ce
2019-06-06 13:06:22 -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 80d94c4934 Merge "Using a separate InputConsumer when Launcher is resumed but not focused" into ub-launcher3-qt-dev am: 7183795ff8
am: f95a845924

Change-Id: I1bc5b672b5ee32c2b50c564fc43ca764f675fa87
2019-06-06 12:19:08 -07: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 a1f5164734 Merge "Fix flicker to OVERVIEW state during quick switch" into ub-launcher3-qt-dev am: 215ab0ca87
am: d5270da80d

Change-Id: I8e897f970813f31c743017fca69f263b195da7b6
2019-06-06 12:12:56 -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 26e8b3ef9e Temporarily not using RuleChain as it mysteriously breaks tests am: 63013c5e57
am: 77d4204544

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

Change-Id: Ie13b8b06fa17b86298b1b59658b29b2a45063405
2019-06-05 20:33:03 -07: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