Commit Graph
60459 Commits
Author SHA1 Message Date
Winson Chung 7d7864e89a Relaunch app that is restarted mid-gesture
Bug: 156692295
Test: Swipe up from an app that has a HUN and ensure tapping on the
      HUN (or anything that can restart the activity) will start the
      activity while the recents animation is still running
Change-Id: Ia1fbd9cfb21aa64b3c8a0d431ba2d9824ee4c0a1
2020-06-09 23:10:13 -07:00
Vinit Nayak 895576b2a3 Remove rotation flag check am: 2b515c7058 am: c4bab76347 am: f5a4e1df5b am: 60d61d4416
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: I7564a4e91bd08b389a604e7e9bf84af6a3b1a348
2020-06-10 05:41:52 +00:00
Automerger Merge Worker 532885a5d9 Merge "Remove rotation flag check am: 2b515c7058 am: 158cbbfeab am: fab05d953f" into rvc-qpr-dev-plus-aosp am: 198c25bd18
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: Id789da517000d6219c56cfae0db4dceade3a274b
2020-06-10 05:41:26 +00:00
Vinit Nayak b210bac680 Remove rotation flag check am: 2b515c7058 am: 158cbbfeab am: f413b5f861 am: 5e99335b98
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: Idc4b440b0b686d0068666de7aef3f693eaf0c1b4
2020-06-10 05:40:57 +00:00
Vinit Nayak 60d61d4416 Remove rotation flag check am: 2b515c7058 am: c4bab76347 am: f5a4e1df5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: If64e860b106955dac641d41f50b4a22c49026724
2020-06-10 05:22:37 +00:00
Automerger Merge Worker 198c25bd18 Merge "Remove rotation flag check am: 2b515c7058 am: 158cbbfeab am: fab05d953f" into rvc-qpr-dev-plus-aosp 2020-06-10 05:22:25 +00:00
Vinit Nayak d65f0294b3 Remove rotation flag check am: 2b515c7058 am: 158cbbfeab am: fab05d953f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: I260218429f8675469bae63a78cf86123a3177791
2020-06-10 05:22:20 +00:00
Vinit Nayak 5e99335b98 Remove rotation flag check am: 2b515c7058 am: 158cbbfeab am: f413b5f861
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: I64beb81f09ff5714a11e10929b9d63bf336fb1c1
2020-06-10 05:22:18 +00:00
Vinit Nayak f5a4e1df5b Remove rotation flag check am: 2b515c7058 am: c4bab76347
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: Ibdd3da791a5e9e00e857aaa871deb2cb23224bd5
2020-06-10 05:06:44 +00:00
Vinit Nayak f413b5f861 Remove rotation flag check am: 2b515c7058 am: 158cbbfeab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: I7fc1f6de13c2521e11d68ac97a9854db8d99bae6
2020-06-10 05:06:32 +00:00
Vinit Nayak fab05d953f Remove rotation flag check am: 2b515c7058 am: 158cbbfeab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: I1822a7c310827cf4a3c818e316d4bd7d385b4b4f
2020-06-10 05:06:31 +00:00
Vinit Nayak b3669be6d3 Remove rotation flag check am: 2b515c7058
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: I1ece7585c51c53a6dbe99e23cc4fea04cf1ef90d
2020-06-10 04:54:49 +00:00
Vinit Nayak c4bab76347 Remove rotation flag check am: 2b515c7058
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: Iffdc6c60f6b3e6b0b2049e04dac083ed7776f715
2020-06-10 04:54:45 +00:00
Vinit Nayak 158cbbfeab Remove rotation flag check am: 2b515c7058
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: Ied328efa8f43520439ecddc458d3df0d25544d5b
2020-06-10 04:54:31 +00:00
Sreyas b64b59d025 Fix Task Icon menu behavior.
Tapping task icon will now show the scrim for rest of thumbnail and not snap to page that is already snapped to.
Pressing task icon from clear all will scroll to the page.
Link: https://drive.google.com/file/d/1I90rd6ELPZNIje2_VZ3CamWWeFN8ywhL/view?usp=sharing

Bug: 158004853
Change-Id: I9ac8229a603190ea09a74e1cfb70a6bb6e1e65b7
2020-06-09 21:10:46 -07:00
thiruram 713fbec475 Update StatsLogManager to support ranking related events. am: 236f40d97e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11816368

Change-Id: I552001afd96df55cfa28ec492c6db3e4248d0bff
2020-06-10 03:08:18 +00:00
thiruram 236f40d97e Update StatsLogManager to support ranking related events.
Change-Id: I238f00a782a620f704005d37c8972b5e25610c75
2020-06-10 02:47:58 +00:00
android-build-team Robot 98c2b5e4cc Snap for 6573961 from db8ea380e4 to sc-release
Change-Id: Iaae9b6647d81fdcee0f183c4915d02343084b174
2020-06-10 02:10:00 +00:00
Becky Qiu 03113c5d7a Revert "Fix Task Icon menu behavior." am: 23986e9a84
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815826

Change-Id: I3bd86ca9493b0937e0b71952119426957751fb52
2020-06-10 01:27:55 +00:00
Sunny Goyal f74f0c27bc Creating correct device profile when appContext and launcher context do not match
Bug: 156891776
Change-Id: If2df3a6719de4207fa15d8a416704eb8e7c136b9
2020-06-09 18:10:00 -07:00
android-build-team Robot 5018f1a4c5 Snap for 6573866 from 655b47c614 to rvc-release
Change-Id: Ic1e11ef9484567b797afb987e5092b5c4d1e2446
2020-06-10 01:07:34 +00:00
TreeHugger Robot 92775d6353 Merge "Apply PendingAnimation#mDuration to all added anims" into ub-launcher3-rvc-dev am: 8984fea211
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815998

Change-Id: I8dda5a2887eca4d19678e92a4a59b358b16cbad2
2020-06-10 00:36:36 +00:00
Becky Qiu 23986e9a84 Revert "Fix Task Icon menu behavior."
This reverts commit 6df0148b07.

Reason for revert: breaks the task icon behavior.

Change-Id: I6f654478e0ffe7827efeca1553622dad2e02c5da
2020-06-10 00:20:49 +00:00
TreeHugger Robot 8984fea211 Merge "Apply PendingAnimation#mDuration to all added anims" into ub-launcher3-rvc-dev 2020-06-10 00:18:31 +00:00
TreeHugger Robot fc2398560e Merge "Remove rotation flag check" into ub-launcher3-rvc-dev am: ea928edc36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11812119

Change-Id: I6d1293d2f804bd19f5e3e68e73a6b6dae08af9e8
2020-06-09 23:59:06 +00:00
TreeHugger Robot ea928edc36 Merge "Remove rotation flag check" into ub-launcher3-rvc-dev 2020-06-09 23:43:44 +00:00
Vinit Nayak 2b515c7058 Remove rotation flag check
There's a race condition between when
the flag is read and when it gets set,
and not registering the listener that
the flag is gating can result in a lot
of bad rotation state.

Fixes: 158592847
Change-Id: Idd78e15669698bb0d057d0b6661ea69bfa5c8202
2020-06-09 23:43:17 +00:00
Tony Wickham fe54c36822 Apply PendingAnimation#mDuration to all added anims
Doing this at the root instead of individually for all added
animators ensures none fall through the cracks.

Fixes: shelf moving too quickly in 2 button mode
Change-Id: I0de1ba9cee3fb8f1d6161371625d97e4b2305129
2020-06-09 18:35:07 -05:00
TreeHugger Robot 58a865486b Merge "Add feature flag for majority ranking." into ub-launcher3-rvc-dev am: e34b183547
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11780342

Change-Id: I17182815ffc4e268c1869c3c73d7f27643dbcafb
2020-06-09 23:25:39 +00:00
TreeHugger Robot e34b183547 Merge "Add feature flag for majority ranking." into ub-launcher3-rvc-dev 2020-06-09 23:23:49 +00:00
Tracy Zhou 6313feabb7 Merge "Fix icons not rendering in folder migration" into ub-launcher3-rvc-dev am: f917b640d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11812121

Change-Id: Ia864aae5faa8597be2d4b269c1868250dcb62418
2020-06-09 23:21:18 +00:00
Tracy Zhou f917b640d0 Merge "Fix icons not rendering in folder migration" into ub-launcher3-rvc-dev 2020-06-09 22:59:31 +00:00
Vinit Nayak 92364cdc74 Remove rotation flag check
There's a race condition between when
the flag is read and when it gets set,
and not registering the listener that
the flag is gating can result in a lot
of bad rotation state.

Fixes: 158592847
Change-Id: Idd78e15669698bb0d057d0b6661ea69bfa5c8202
2020-06-09 22:55:07 +00:00
Jayaprakash Sundararaj f4898452f7 Add feature flag for majority ranking.
Bug: 157907222
Change-Id: I72962c3c68559ce8d40ca4137e89b9cc2913825a
2020-06-09 15:50:58 -07:00
Sunny Goyal 55e2b1635f Adding a new attribute to speficy folder label directly in layout
Bug: 158141109
Change-Id: I84dccf43981abc910c0d9e75bf316c6b27b3606b
2020-06-09 15:47:21 -07:00
Tracy Zhou 1983faca2d Fix icons not rendering in folder migration
Fixes: 157813770
Test: manual

Change-Id: I68a2685482756a2b8afa65bf652b667972158a46
2020-06-09 14:40:17 -07:00
Samuel Fufa f0e704f741 Merge "Work profile visual polish" into ub-launcher3-rvc-dev am: 25afca44c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11811209

Change-Id: I27d730ea38833534d58972135dcc85ac350b2a5d
2020-06-09 21:34:58 +00:00
Samuel Fufa 25afca44c4 Merge "Work profile visual polish" into ub-launcher3-rvc-dev 2020-06-09 21:21:56 +00:00
Samuel Fufa 2e59b95024 Work profile visual polish
- Calculate work profile switch height and apply it as a padding to recyclerview instead of reading height from view.
- Add solid background to work_apps paused overlay for improved crossfade animation on pause/unpause
- Don't show work paused overlay text in landscape mode

Bug 151672365
Bug 153763804
Bug 151595687

Test: Manual
Change-Id: I6c14a8a1624455181d4998555bcc3ae2bb422efe
2020-06-09 14:17:47 -07:00
Samuel Fufa 39912270e5 Decrease predicted icon outline size
Bug: 156781454
Change-Id: Id9e1fbb47dbb5c18a41f466b9f3963f93ab6f509
2020-06-09 14:02:48 -07:00
Zak Cohen 905e155e97 Merge "Overview Actions - use scaled insets for screenshot transition." into ub-launcher3-rvc-dev am: e246f191de
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11578320

Change-Id: I97103e4ef17dd85b50e9ee1282bd4e8c1715c579
2020-06-09 20:59:55 +00:00
Zak Cohen e246f191de Merge "Overview Actions - use scaled insets for screenshot transition." into ub-launcher3-rvc-dev 2020-06-09 20:36:12 +00:00
Tony Wickham 5e957551be Fix quick switching to any task that already appeared
Previously we did this for the last task that appeared, but didn't
take into account cases where multiple tasks had appeared during
the same gesture state. We handle that now.

Test:
- Quick switch to delayed task A, start new gesture, return to the
  first app after onTaskAppeared(A)
- Quick switch to delayed task A, start new gesture, wait for
  onTaskAppeared(A), then switch to delayed task B, start new
  gesture, wait for onTaskAppeared(B), and switch back to A
- Quick switch to delayed task A, start new gesture, wait for
  onTaskAppeared(A), then switch to delayed task B, start new
  gesture, wait for onTaskAppeared(B), and switch back to A and
  quickly back to original app (before settling on A)
Ensure task starts/resumes and is interactable in all cases.

Bug: 158588954
Change-Id: I647a6d015baa1d9b6d613e6c0e584589f35da54a
2020-06-09 15:07:16 -05:00
Hyunyoung Song a8e8637b86 Merge "Guard logging behind a feature flag Bug: 158442037" into ub-launcher3-rvc-dev am: 58c936c1a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788171

Change-Id: I3e5efa45bc4d8878f46a0b69092c35386d09c019
2020-06-09 19:40:48 +00:00
Hyunyoung Song 4ef01a10ee Merge "Add FolderInfo label source / Add instance id to snapshot logging" into ub-launcher3-rvc-dev am: 3b1786ce77
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11780341

Change-Id: Ibb42efc4a1454dde6155d0f1422c2565ed4ce3c3
2020-06-09 19:40:33 +00:00
Hyunyoung Song 58c936c1a2 Merge "Guard logging behind a feature flag Bug: 158442037" into ub-launcher3-rvc-dev 2020-06-09 18:47:29 +00:00
Hyunyoung Song 3b1786ce77 Merge "Add FolderInfo label source / Add instance id to snapshot logging" into ub-launcher3-rvc-dev 2020-06-09 18:26:07 +00:00
TreeHugger Robot a99464348d Merge "Removing multiple system RPCs to packageMAnager and userManager from UI thread" into ub-launcher3-rvc-dev am: 81e651dba8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11800442

Change-Id: I027048e334c26e85ca6b593ba398f89bff1239e2
2020-06-09 17:24:59 +00:00
TreeHugger Robot 81e651dba8 Merge "Removing multiple system RPCs to packageMAnager and userManager from UI thread" into ub-launcher3-rvc-dev 2020-06-09 17:19:56 +00:00
TreeHugger Robot 80138f6357 Merge "Fix bug where scrim did not fade in during staggered workspace animation." into ub-launcher3-rvc-dev am: fd4e7a8907
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11800441

Change-Id: I61b4bb31d9f87631f909f4e9ed02e99fdf0c61db
2020-06-09 17:14:25 +00:00