Commit Graph

20478 Commits

Author SHA1 Message Date
TreeHugger Robot 72cf3d31a5 Merge "Remove a comment that a line of code is a workaround" into ub-launcher3-rvc-dev 2020-06-15 18:06:20 +00:00
vadimt f6a179d3ae Remove a comment that a line of code is a workaround
Bug: 157099707
Change-Id: I417df10735438caf6fd7fd5833817b5c43a1e856
2020-06-15 10:19:15 -07:00
Samuel Fufa 8e90ee0362 [race condition] Improve hotseat availability when launcher is recreated
In cases where onCreate does not get called before bindPredictedItems, mHotseatPredictionController will be null. This results in the hotseat remaining empty until AiAi sends predictions.

Bug: 158867468
Test: Manual
Change-Id: I4f3c3fc41f489e96a9f91dc9505202ae9ce9cce1
2020-06-14 18:30:50 -07:00
thiruram 1c3191b2d8 Updates StatsLogManager to log LauncherAtom.ItemInfo directly. am: 8da127f175
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855083

Change-Id: I2fb367e2d6d9e3b08253aebf3e1bcbe117d5df7e
2020-06-14 03:02:42 +00:00
thiruram 8da127f175 Updates StatsLogManager to log LauncherAtom.ItemInfo directly.
This method is requied for logging tap on QSB with just container info.

Bug: 154717227

Change-Id: I0c61c86724b4faafe4073a578b92a654ca23727a
2020-06-14 02:02:08 +00:00
Sunny Goyal dadc461c24 Fixing recents animation not getting completed sometimes when using 3P launcher am: fcad20bad9 am: ee59005a19 am: 460b071595 am: 48b6590680
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855087

Change-Id: Iba32991a75ffaf4de2d9ccf98a7cde572b86fa57
2020-06-13 04:15:42 +00:00
Vadim Tryshev 5ed293ce65 Merge "Enable FallbackRecentsTest" into ub-launcher3-rvc-dev am: aeacb7c850
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11845343

Change-Id: I73d88c6a020be776c10933603ca9031341735f47
2020-06-13 01:04:28 +00:00
TreeHugger Robot ca3ef22e44 Merge "[Overview Actions] onBackPressed for the modal state will go to overview." into ub-launcher3-rvc-dev am: 48f600c51d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11842733

Change-Id: Ib518725530a774aa29dc0d9a80ec2bc2febaf813
2020-06-13 01:04:19 +00:00
Becky Qiu afc6b02999 [Overview Actions] Add a decelerateInterpolator for motion of select mode. am: e1fdf3e059
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855082

Change-Id: Id23f4532e8c9e9a8ca628a291d88ac4b8283caca
2020-06-13 01:04:07 +00:00
Vadim Tryshev aeacb7c850 Merge "Enable FallbackRecentsTest" into ub-launcher3-rvc-dev 2020-06-13 00:55:06 +00:00
TreeHugger Robot 48f600c51d Merge "[Overview Actions] onBackPressed for the modal state will go to overview." into ub-launcher3-rvc-dev 2020-06-13 00:52:48 +00:00
Becky Qiu e1fdf3e059 [Overview Actions] Add a decelerateInterpolator for motion of select mode.
Test: local
Bug: 157777836

Change-Id: I8cbc14c41e9046aa5993fe4add010acdd612539a
2020-06-12 17:07:42 -07:00
Becky Qiu fb40075752 [Overview Actions] onBackPressed for the modal state will go to overview.
Test: local
Bug: 157778187
Change-Id: Ie5252d39e54ca11de389dd698bfb7751fdf8f60e
2020-06-12 17:04:18 -07:00
Sunny Goyal fcad20bad9 Fixing recents animation not getting completed sometimes when using 3P launcher
Bug: 158855992
Change-Id: I2c0cb74edfea5406e79aa99d6604183e63c1f0f1
(cherry picked from commit 05179b6650)
2020-06-12 22:54:36 +00:00
TreeHugger Robot 51bada0694 Merge "Fixing recents animation not getting completed sometimes when using 3P launcher" into ub-launcher3-rvc-dev am: 690b8fb3f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11853117

Change-Id: I44041ee32a2b8b52a8412e43053e47bd1c946796
2020-06-12 22:50:10 +00:00
vadimt 01bb8125b0 Enable FallbackRecentsTest
With some temporary workarounds.

Bug: 143488140

Change-Id: Id1ed2d06fd3265a6aa7f98d2900733f580359944
2020-06-12 15:12:37 -07:00
Sunny Goyal 05179b6650 Fixing recents animation not getting completed sometimes when using 3P launcher
Bug: 158855992
Change-Id: I2c0cb74edfea5406e79aa99d6604183e63c1f0f1
2020-06-12 22:07:41 +00:00
TreeHugger Robot ce031e46bc Merge "Fixing sysui visibility changing multiple times on startup" into ub-launcher3-rvc-dev am: e3a51fec39
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11826471

Change-Id: I1a04520d6de65474e50ed22d5aa08a1992d1fede
2020-06-12 18:48:16 +00:00
TreeHugger Robot 3a41b165f2 Merge "Creating correct device profile when appContext and launcher context do not match" into ub-launcher3-rvc-dev am: 1eb6b2acf6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11816886

Change-Id: I95d41a48bea904d76d885d4deaefa6a1739558bb
2020-06-12 18:48:07 +00:00
TreeHugger Robot e3a51fec39 Merge "Fixing sysui visibility changing multiple times on startup" into ub-launcher3-rvc-dev 2020-06-12 18:45:41 +00:00
TreeHugger Robot 1eb6b2acf6 Merge "Creating correct device profile when appContext and launcher context do not match" into ub-launcher3-rvc-dev 2020-06-12 18:37:30 +00:00
Jon Miranda 7c57559930 Gates blur code behind BlurUtils#supportsBlursOnWindows.
This "fixes" the bug where wallpaper zoom does not reset to 0 when
screen turns off since we no longer require a valid surface to set the depth
when blur is disabled.

Note that the bug still exists when blur is enabled, which will need to be
fixed in a follow up CL.

Bug: 157946272
Change-Id: I43179435885c95eb2ecf406fa5c291badf5a1ed3
2020-06-12 11:03:10 -07:00
Vinit Nayak 84dc3a45ee Notify SysUi on device rotation for back gesture
Whenever device rotates, we notify sysui to hide/show
the back gesture if the foreground app also rotates.
We also notify sysui when device rotates to match
the orientation of the current foreground app (this
is for apps with fixed rotations).

Fixes: 154580671
Test: Created test apps of different rotations
and ensured that back functionality was present when
attempting to go back.

Change-Id: I33a71698411d9bc2416b6660f8dbd53233628917
(cherry picked from commit 80303ac4b9)
Merged-In: I33a71698411d9bc2416b6660f8dbd53233628917
2020-06-12 17:25:37 +00:00
TreeHugger Robot 7183b2786c Merge "Notify SysUi on device rotation for back gesture" 2020-06-12 17:25:11 +00:00
Hyunyoung Song e18703bf8c LAUNCHER_APP_LAUNCH_TAP should log correctly for icons inside folder am: 13c2bc7303
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11817980

Change-Id: I5aa4ff632d0ea545074243a82728022a228255cc
2020-06-12 17:21:57 +00:00
Hyunyoung Song 13c2bc7303 LAUNCHER_APP_LAUNCH_TAP should log correctly for icons inside folder
Bug: 137777105

Change-Id: I5c1552481fc1b788ba41c57bfe97f126f55e5b16
2020-06-11 23:51:17 -07:00
TreeHugger Robot fb51d87e84 Merge "Hook one-handed gesture to expand notification panel by default" 2020-06-12 06:43:52 +00:00
TreeHugger Robot fc012828c8 Merge "Fix quick switching to any task that already appeared" into ub-launcher3-rvc-dev am: 662796d18b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11813325

Change-Id: I6b9f3f16d7648b868864f3de309afd6648821e3d
2020-06-12 05:46:58 +00:00
TreeHugger Robot 662796d18b Merge "Fix quick switching to any task that already appeared" into ub-launcher3-rvc-dev 2020-06-12 05:22:44 +00:00
Vinit Nayak 05cd0aedf3 Notify SysUi on device rotation for back gesture
Whenever device rotates, we notify sysui to hide/show
the back gesture if the foreground app also rotates.
We also notify sysui when device rotates to match
the orientation of the current foreground app (this
is for apps with fixed rotations).

Fixes: 154580671
Test: Created test apps of different rotations
and ensured that back functionality was present when
attempting to go back.

Change-Id: I33a71698411d9bc2416b6660f8dbd53233628917
(cherry picked from commit 80303ac4b9)
2020-06-11 23:04:55 +00:00
TreeHugger Robot f4c746949c Merge "Reduce launcher logs in bugreports" into ub-launcher3-rvc-dev am: 4aef742314
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11739381

Change-Id: Ifef88cbaf17c07d0b55fcceb9c1669291be0cf34
2020-06-11 22:50:23 +00:00
TreeHugger Robot 4aef742314 Merge "Reduce launcher logs in bugreports" into ub-launcher3-rvc-dev 2020-06-11 22:41:39 +00:00
Samuel Fufa 852145c9b5 Reduce launcher logs in bugreports
Bug: 158216867
Test: Manual
Change-Id: I068550f2c0b233d5c7a6c4685efb36b62ced5dde
2020-06-11 15:02:58 -07:00
Samuel Fufa 845a94d7f6 Migrate Hotseat logging to WW am: 6fd62fde91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11816008

Change-Id: I0da8dee773298c637a97ad2def91b8c54e0e3dd6
2020-06-11 17:19:32 +00:00
Samuel Fufa 6fd62fde91 Migrate Hotseat logging to WW
Bug: 158218197
Change-Id: I77743b78593f169ffc30f91ab9963052417dac23
2020-06-11 09:27:36 -07:00
Pinyao Ting 5c2f1a6fa4 Merging from ub-launcher3-rvc-dev @ build 6577335 am: 8020bf2f4b am: e0a0876062 am: af957e82c4 am: cd902c0fc0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11828234

Change-Id: I7def4bc74da0e4bf8ce19bd281d90945f45a6a3d
2020-06-11 09:58:01 +00:00
TreeHugger Robot 3c5d03a044 Merge "Remove unused HomeRotatedPageHandler" into ub-launcher3-rvc-dev am: bb58efabc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11827371

Change-Id: Idaabda0d77f364e7de91085d12478b2890b79a7e
2020-06-11 03:23:19 +00:00
TreeHugger Robot bb58efabc8 Merge "Remove unused HomeRotatedPageHandler" into ub-launcher3-rvc-dev 2020-06-11 03:10:13 +00:00
Sunny Goyal de52876a2b Fixing sysui visibility changing multiple times on startup
> During startup shelftop is updated after all-apps, causing all-apps to
set the sysuiVisibility according to it's own UI

Bug: 156422012
Change-Id: Idee06249ad45946ed0a9dc84702510ad90a305f4
2020-06-10 19:13:36 -07:00
vadimt 45564c831b Removing debug requests from non-debug test info handlers
Bug: 152629799
Bug: 153670015
Change-Id: I02776be811d1d3325b35880d19d25a6638f904ef
2020-06-10 18:48:37 -07:00
Vinit Nayak 84f30b213a Remove unused HomeRotatedPageHandler
Transfer functionality of choosing
task menu layout to PortraitPageHandler,
which is what it should have been to
begin with.

Fixes: 158484000
Change-Id: Iadda53e7e1f796c063a111823f7f6278f3fdbf58
2020-06-10 18:47:05 -07:00
TreeHugger Robot ee67acfc3c Merge "Show discovery tip for hybrid hotseat" into ub-launcher3-rvc-dev am: 743e25e2d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11638182

Change-Id: I3cc06fc4989a636139bcce2d8c22c9136ee419ad
2020-06-10 23:23:56 +00:00
TreeHugger Robot 3c6fa04c4f Merge "Notify SysUi on device rotation for back gesture" into ub-launcher3-rvc-dev am: ca5e9cb7ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11396771

Change-Id: Iededa386593fc6ea6875e3fc61c3c6abe67a9e22
2020-06-10 23:23:50 +00:00
TreeHugger Robot 77dec4aaa9 Merge "[Overview Actions] Add actions to the task menu for in-place landscape." into ub-launcher3-rvc-dev am: 97c399aa9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11727201

Change-Id: I860cb5bc5292f559a8b8809853151bec649255a3
2020-06-10 23:23:41 +00:00
TreeHugger Robot 743e25e2d2 Merge "Show discovery tip for hybrid hotseat" into ub-launcher3-rvc-dev 2020-06-10 23:22:14 +00:00
TreeHugger Robot ca5e9cb7ef Merge "Notify SysUi on device rotation for back gesture" into ub-launcher3-rvc-dev 2020-06-10 23:14:06 +00:00
TreeHugger Robot 97c399aa9f Merge "[Overview Actions] Add actions to the task menu for in-place landscape." into ub-launcher3-rvc-dev 2020-06-10 23:08:36 +00:00
Sreyas Rangaraju 3095961669 Merge "Fix Task Icon menu behavior." into ub-launcher3-rvc-dev am: 9a391afbf1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11818459

Change-Id: I22a864faf78b933ef9cd580d215ea6f3ed25dcb2
2020-06-10 23:00:51 +00:00
thiruram 3d80f0335a Log folder open event into WW. am: ba0a6b61a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11814164

Change-Id: Id2ef24f9b8452be0cac97dca860288344700e336
2020-06-10 23:00:44 +00:00
Sreyas Rangaraju 9a391afbf1 Merge "Fix Task Icon menu behavior." into ub-launcher3-rvc-dev 2020-06-10 22:47:28 +00:00