Tony Wickham
8a2c1cbc5a
Add taskbar stashing feedforward, i.e. hint at upcoming stash/unstash
...
Also fix unstashing not working in 3P launchers by moving the unstash call from LauncherTaskbarUIController to TaskbarActivityContext
Test: long press taskbar background and stashed handle, watch it hint towards the new stashed/unstashed state respectively and then complete the animation when the long press is triggered
Fixes: 193926311
Fixes: 192926350
Change-Id: I0e538be9129bf5c600d07f360b8106d7077862ad
2021-07-19 14:09:33 -10:00
Tony Wickham
a9f728e57b
Continue loading visible task data when scrolling recents during anim to home
...
When we go from overview to home, we scroll to page 0 so that all tasks end up offscreen. However, since we are already in NORMAL state, we previously ignored loadVisibleTaskData() for the tasks as they scrolled by. Instead, we now continue loading task data while the scroller is unfinished.
Test: swipe to last recent task, swipe up to home, ensure thumbnails are still loaded as they scroll offscreen
Bug: 192522519
Change-Id: Iba770200fc5dbdfc91dccda9a6b9c891ab6c5e3d
2021-07-19 11:34:07 -10:00
TreeHugger Robot
9bd4020134
Merge "Wait for dismiss animation to finish before checking task count" into sc-v2-dev am: b0ef69e886 am: 26db50490a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15312149
Change-Id: I7ee1650a1884c79aab63a42217a1cb18e2e563c7
2021-07-19 19:25:19 +00:00
TreeHugger Robot
26db50490a
Merge "Wait for dismiss animation to finish before checking task count" into sc-v2-dev am: b0ef69e886
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15312149
Change-Id: If3f95ed959ff8bef92ff49bca349c4c5b434996e
2021-07-19 19:07:14 +00:00
TreeHugger Robot
b0ef69e886
Merge "Wait for dismiss animation to finish before checking task count" into sc-v2-dev
2021-07-19 18:39:18 +00:00
Jonathan Miranda
c39d1aa467
Merge "Fix notification dot not always being up to date." into sc-dev am: 8e095ccb05 am: 70e8c0b022
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302020
Change-Id: If3bee71b46586a6b26bc030e87166fdb3788e440
2021-07-19 18:14:34 +00:00
Jonathan Miranda
291cfde1bb
Merge "Fix notification dot not always being up to date." into sc-dev am: 8e095ccb05 am: 4e16c6ed22
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302020
Change-Id: Ieae003d368ec8452db75f9e332c0617b168cc44e
2021-07-19 18:14:10 +00:00
Jonathan Miranda
70e8c0b022
Merge "Fix notification dot not always being up to date." into sc-dev am: 8e095ccb05
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302020
Change-Id: I73d52b726f120029edc345a4154e36e734a6ea32
2021-07-19 18:00:49 +00:00
Jonathan Miranda
4e16c6ed22
Merge "Fix notification dot not always being up to date." into sc-dev am: 8e095ccb05
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302020
Change-Id: I02076f77ffcae6bfb49e0bac3c79b0e0b87d5656
2021-07-19 18:00:05 +00:00
Jonathan Miranda
1032f3cd64
Merge "Fix notification dot not always being up to date." into sc-dev am: 8e095ccb05
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302020
Change-Id: I14464148a1f19023f937eb2449bcb3dac1493638
2021-07-19 17:59:29 +00:00
Jonathan Miranda
8e095ccb05
Merge "Fix notification dot not always being up to date." into sc-dev
2021-07-19 17:45:26 +00:00
Alex Chau
97cba26a20
Wait for dismiss animation to finish before checking task count
...
- See http://b/193440212#comment5 , TaskView takes time after swipe gesture to finish dismiss animation, so wait for the animation to finish before checking task count
Bug: 193440212
Test: TaplTestsQuickstep#testOverview
Change-Id: I21397e68f384e956a7c9f2ee8a8161ac784b4d2e
2021-07-19 17:34:57 +01:00
Alex Chau
6403086ec9
Merge "Don't allow stashing in tests for now" into sc-v2-dev am: 0841e93a34 am: 554b9879cc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15305566
Change-Id: Ic26a031e139f111c5eaee07b8fc5082a4b65a26f
2021-07-19 12:44:36 +00:00
Alex Chau
554b9879cc
Merge "Don't allow stashing in tests for now" into sc-v2-dev am: 0841e93a34
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15305566
Change-Id: Iecbc428f515b5e1725d0ec1b1368abadcb191286
2021-07-19 12:24:00 +00:00
Alex Chau
0841e93a34
Merge "Don't allow stashing in tests for now" into sc-v2-dev
2021-07-19 12:15:43 +00:00
Bill Yi
f027fbc667
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: If181c6ceec433af77301991086294f534287ed70
2021-07-18 04:20:07 +00:00
Bill Yi
0b755e15ce
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I9c41d2289e29a43beeac27ba236080ef5b8a7083
2021-07-18 04:17:18 +00:00
Bill Yi
d795b67d17
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ic985ca3898b08c71facddecf2e9c94fd4f0ad350
2021-07-18 04:16:45 +00:00
Vinit Nayak
f40262a617
End recents animation when entering split select
...
Allow starting split selection from live tile task.
Animation is still funky, but that's in a separate
CL altogether.
Fixes: 193212975
Test: Repro steps in bug no longer happen
Change-Id: I507628d3ef474936694dfbabfef5e0acf9f55b5d
2021-07-17 17:28:41 -07:00
Jon Miranda
f8441cc276
Fix notification dot not always being up to date.
...
- Prediction row views were never updated when notification changes.
- FloatingIconView set the BubbleTextView to force hide dot, but never restored it.
BubbleTextView is instanceof IconLabelDotView, so its already handled in the end runnable
Bug: 183360736
Test: 1. swipe up to go home such that the closing app has a notification,
note that the notification dot is properly updated
2. have all apps open
make notification update for a predicted app
ensure dot is properly updated
Change-Id: I35dacf9b71a3d8b8a857be450690d65ea9199bf6
2021-07-16 17:50:56 -07:00
Tony Wickham
9c84d7f3c3
Don't allow stashing in tests for now
...
Test: TaplTestsQuickstep#testOverviewActions (arbirarily)
Bug: 193521974
Change-Id: Ic2c5c5f9f37ed3f035ec932b4c96fb51598cf899
2021-07-16 12:27:40 -10:00
TreeHugger Robot
03621d1e3b
Merge "Import translations. DO NOT MERGE ANYWHERE"
2021-07-16 17:15:52 +00:00
TreeHugger Robot
a47e60d8ca
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-07-16 15:05:35 +00:00
TreeHugger Robot
1791a86378
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev
2021-07-16 14:55:11 +00:00
Thales Lima
4858427b19
Merge "launcher: enable swipe down to open focused app" into sc-v2-dev am: 2e15dde6b7 am: 63d04c5cd5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15297765
Change-Id: If4dab562459c82869da6c1fd4013f4e795c5b630
2021-07-16 13:44:11 +00:00
Thales Lima
63d04c5cd5
Merge "launcher: enable swipe down to open focused app" into sc-v2-dev am: 2e15dde6b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15297765
Change-Id: Icd86b4b23ee6053be895589dd2287535ab60d67f
2021-07-16 13:35:28 +00:00
TreeHugger Robot
1941276ad7
Merge "Revert "Move focused task to front when attaching RecentsView"" into sc-v2-dev am: c0fe7b1cc4 am: d69d4e9742
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15301504
Change-Id: Iefc7cb0d703614c449c87c0f40affb908b24823b
2021-07-16 13:27:15 +00:00
Thales Lima
2e15dde6b7
Merge "launcher: enable swipe down to open focused app" into sc-v2-dev
2021-07-16 13:23:32 +00:00
TreeHugger Robot
d69d4e9742
Merge "Revert "Move focused task to front when attaching RecentsView"" into sc-v2-dev am: c0fe7b1cc4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15301504
Change-Id: I0d48052a8cd0bf84107c37dffb4c58ddaabcf814
2021-07-16 13:08:25 +00:00
Alex Chau
ca069cc679
Reland "Move focused task to front when attaching RecentsView"
...
This reland commit 86ac825061
- When removing focused task, don't add it to taskpool as we'll immediately re-add the task
Bug: 192471181
Test: NexusLauncherTests
Change-Id: If4a9de74ac63ac14cf6a99262db31cb9f31b987e
2021-07-16 14:01:50 +01:00
TreeHugger Robot
c0fe7b1cc4
Merge "Revert "Move focused task to front when attaching RecentsView"" into sc-v2-dev
2021-07-16 12:54:51 +00:00
Alex Chau
a6451fc640
Revert "Move focused task to front when attaching RecentsView"
...
This reverts commit 86ac825061 .
Reason for revert: Causes crash in fallback recents
Bug: 192471181
Change-Id: I41d2b5c87259568f21e6417be3a6dea5dd1a0864
2021-07-16 12:54:34 +00:00
Thales Lima
fb5ba04c6a
launcher: enable swipe down to open focused app
...
Fixes 192437421
Test: manual testing
Change-Id: Ife8e53cf4d7542525736e7b93ac92f9a2ddcd068
2021-07-16 10:55:38 +00:00
Bill Yi
031eaa94d8
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I4d192d835177cb690922c81710a2ef72e22ea1b4
2021-07-16 02:55:37 +00:00
Bill Yi
081208c566
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I8342bc6735cdec0f5ff4cabd8a48974e3455aae3
2021-07-16 02:52:31 +00:00
Bill Yi
0896cbc8f3
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I3d7b3786054b9790b140cbaa43b0d96196beb042
2021-07-16 02:51:58 +00:00
TreeHugger Robot
935ca32b3c
Merge "Fixing regression from animation not starting while in overview" into sc-dev am: f054bf5681
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15305446
Change-Id: I4c4162c0734b9a3feaaf25eadca47f11e1887b8a
2021-07-16 02:04:42 +00:00
Cyrus Boadway
d7573be527
Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev am: 66f1b57815
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15284080
Change-Id: I065ddc6049008b0a2db9767ab4d1e49e1537efac
2021-07-16 02:04:30 +00:00
TreeHugger Robot
ea7bcf3d6d
Merge "Fixing regression from animation not starting while in overview" into sc-dev am: f054bf5681 am: aea4bed7e6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15305446
Change-Id: Ic1d0d8cdef6e63c0ee562b1918ec04dd390bce38
2021-07-16 02:02:11 +00:00
TreeHugger Robot
fd90e7e101
Merge "Fixing regression from animation not starting while in overview" into sc-dev am: f054bf5681 am: 60779dc5ad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15305446
Change-Id: I74052fe8178c097cf567e14976c91340d8c9fe0b
2021-07-16 02:01:26 +00:00
TreeHugger Robot
3559798fba
Merge "Removing support for change listeners from feature flags" into sc-v2-dev am: 4aac62110e am: fdbabc6be4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302089
Change-Id: I9bb74727ab64325944f2d01e4fcc7aebfda144fd
2021-07-16 01:56:33 +00:00
TreeHugger Robot
60779dc5ad
Merge "Fixing regression from animation not starting while in overview" into sc-dev am: f054bf5681
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15305446
Change-Id: Id144f7d56db1f3a81a23b0e3e1cf545d968ed5ed
2021-07-16 01:44:49 +00:00
TreeHugger Robot
aea4bed7e6
Merge "Fixing regression from animation not starting while in overview" into sc-dev am: f054bf5681
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15305446
Change-Id: I2014b2a3322de2875b64ede01e26a65cc5f2c6dd
2021-07-16 01:43:40 +00:00
TreeHugger Robot
fdbabc6be4
Merge "Removing support for change listeners from feature flags" into sc-v2-dev am: 4aac62110e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302089
Change-Id: Ib53f78f1badbf62661b96ad9b7f6455f596704e8
2021-07-16 01:30:55 +00:00
TreeHugger Robot
f054bf5681
Merge "Fixing regression from animation not starting while in overview" into sc-dev
2021-07-16 01:27:02 +00:00
TreeHugger Robot
4aac62110e
Merge "Removing support for change listeners from feature flags" into sc-v2-dev
2021-07-16 01:20:32 +00:00
Winson Chung
558b18eb12
Fixing regression from animation not starting while in overview
...
Bug: 193830420
Test: Open an app in overview, tap on a notification
Change-Id: Ifd9797dc40d9fffbf9603bca98fcb4a4119e0444
2021-07-15 16:17:51 -07:00
Sunny Goyal
d3af716ca4
Binding Taskbar directly from Launcher model am: 711c596c86 am: c18cdf7c9d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15082875
Change-Id: I847ff8821328118761279cced5f6a642de8fd382
2021-07-15 22:40:12 +00:00
Sunny Goyal
c18cdf7c9d
Binding Taskbar directly from Launcher model am: 711c596c86
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15082875
Change-Id: I3c0247dc339993ecb9d6c740a064231a06857c22
2021-07-15 22:25:28 +00:00
Sunny Goyal
8cbefe2086
Removing support for change listeners from feature flags
...
FeatureFlags are supposed to work as static values and change
listeners can cause leaks if not handled properly at every place.
Bug: 193825269
Test: Manual
Change-Id: I54f9113bc01025da781a420154829d80ffa6a084
2021-07-15 15:07:04 -07:00