Commit Graph

27539 Commits

Author SHA1 Message Date
Rajeev Kumar adcd80a944 Get rid of unused notification_badging_enabled configuration. am: e941d72380
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11959139

Change-Id: I46372db345342d84017296a41829ac542e92e43b
2020-06-22 22:52:50 +00:00
Rajeev Kumar e941d72380 Get rid of unused notification_badging_enabled configuration.
Bug: 159637333
Test: Manual tests by building system image and testing launcher app.
Change-Id: I0a7a3048ae6b4ffa52497748f45a6cf366fe0433
2020-06-22 20:16:49 +00:00
Samuel Fufa f154110338 Create hotseat predictor onCreate am: c3f13e01a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917536

Change-Id: I04f1fc73b11ba5e6cbc9f35aaf9c8b1d8ce991ba
2020-06-19 07:47:05 +00:00
Samuel Fufa c3f13e01a3 Create hotseat predictor onCreate
ModelTask posted in setupViews does not get called.
Bug: 159151258

Change-Id: I45bfe7cf8ea18b09faaf3c0e612be90722e1e410
(cherry picked from commit 345f728f2c)
2020-06-19 00:49:16 +00:00
TreeHugger Robot c15d4c11ed Merge "Disable notification dots launcher setting on Android Go devices." into rvc-dev am: 1fa93354b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11902345

Change-Id: Idc6cbf4db5ba2595f68062299b36a042adab37d5
2020-06-18 09:19:52 +00:00
TreeHugger Robot 1fa93354b2 Merge "Disable notification dots launcher setting on Android Go devices." into rvc-dev 2020-06-18 09:09:13 +00:00
Ady Abraham 72e8d5a9f2 Merge "Launcher: Replace eEarlyWakeup flags with explicit eEarlyWakeup start and end flags" into rvc-dev am: 1e43dc8a79
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11900642

Change-Id: I6c8ef287dacfcd158025ef3ea13188832a8cf47b
2020-06-18 04:51:35 +00:00
Ady Abraham 1e43dc8a79 Merge "Launcher: Replace eEarlyWakeup flags with explicit eEarlyWakeup start and end flags" into rvc-dev 2020-06-18 04:36:03 +00:00
Rajeev Kumar 1a51e29ffe Disable notification dots launcher setting on Android Go devices.
Bug: 158805631
Test: Manual test by opening Launcher settings and verifying
notification dots is not shown anymore.

Change-Id: I7c31e5d85d8b9c0859d789de76d149a4013f7104
2020-06-18 04:25:38 +00:00
Vishnu Nair 7f0df44ee2 Launcher: Replace eEarlyWakeup flags with explicit eEarlyWakeup start and end flags
eEarlyWakeup flag is used as a hint to SurfaceFlinger to adjust its
offsets so it can wakeup earlier and have sufficient time to compose
more complex scenes.

This flag has been replaced with explicit start and stop flags which
ensure the SurfaceFlinger offsets remain consistent during animation.
WM will now set the flags so this change removes use of the deprecated
flag.

Bug: 158127834
Test: go/wm-smoke
Test: systrace to verify new tracepoint and offset behavior

Change-Id: I680d680525482ed61ae38289076bb4213aeb1722
2020-06-17 15:49:50 -07:00
Miranda Kephart 55c807d676 Merging from ub-launcher3-rvc-dev @ build 6595814 am: efdc4e2318
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11885879

Change-Id: I07d3528abddea3f3c6d1d0cdf1588cc0337ad755
2020-06-17 19:49:48 +00:00
Miranda Kephart efdc4e2318 Merging from ub-launcher3-rvc-dev @ build 6595814
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6595814.html

Change-Id: I4be85d0e52cc3cb8801012a7313a269851680c8b
2020-06-16 20:52:28 +00:00
TreeHugger Robot a36605ee90 Merge "Preventing parallel motion event dispatching from view system and event proxy" into ub-launcher3-rvc-dev 2020-06-16 18:20:51 +00:00
Samuel Fufa dc122e816a Merge "[WW logging] Log rankings for app launches" into ub-launcher3-rvc-dev 2020-06-16 04:41:54 +00:00
Samuel Fufa e9c4f401bd [WW logging] Log rankings for app launches
Bug: 158219113
Change-Id: Ib6db4e73e48ff27ca9d3a5348eea42e1f534dba1
2020-06-15 17:17:47 -07:00
TreeHugger Robot eb9f60adab Merge "Add null check before applying fullscreen params" into ub-launcher3-rvc-dev 2020-06-15 22:37:26 +00:00
TreeHugger Robot 4dc44cb405 Merge "fix a11y issue where scroll next can still be triggered on final page in RecentsView" into ub-launcher3-rvc-dev 2020-06-15 22:33:26 +00:00
Pinyao Ting 817054d000 fix a11y issue where scroll next can still be triggered on final page in
RecentsView

Bug: 151450844
Test: manual verification with following steps
1. launch a few apps
2. swipe up from bottom to bring up RecentsView
3. enable talkback
4. perform a scroll next a11y gesture (without lifting finger, swipe
right then left)
5. verify nothing happens (as opposed to pushing the page back a little)

Change-Id: I6dea2559592bdaa7227a2e12ce0565d6d7b7f4a1
2020-06-15 14:51:04 -07:00
Tony Wickham f1a8f47a4a Add null check before applying fullscreen params
Bug: 159026796
Change-Id: I5c1a0ca26c8e4a187e2217870b27289ecf18238e
2020-06-15 16:41:50 -05:00
Hyunyoung Song 730c238b8d Call displayCompletions couple frames after selectAll is called
Bug: 158710542

Change-Id: I295adce9d84bb82c4af27b7e54693ce4c64004cc
2020-06-15 13:54:54 -07:00
TreeHugger Robot 946696124a Merge "Don't set mLikelyToStartNewTask=true before slop for first gesture" into ub-launcher3-rvc-dev 2020-06-15 20:24:51 +00:00
Tony Wickham f3cd3762c9 Don't set mLikelyToStartNewTask=true before slop for first gesture
We should only set it to true before the slop when continuing the
gesture, otherwise gestures to home could attach the adjacent
task view before the transition even starts.

Bug: 158855957
Change-Id: I86eba9bad9c85e05d5274d7396160762a28e5cf1
2020-06-15 14:09:14 -05:00
Sunny Goyal b10e865e48 Preventing parallel motion event dispatching from view system and event proxy
1) When view system is already dispatching an event, proxy-dispatch is restricted
   to gesture only and follow the gesture dispatching rule.
2) If a full-proxy-dispatch is going on, and view-dispatch comes in, view-dispatch
   takes over and proxy-dispatch is cancelled.
3) During gesture-only proxy dispatch, if view-dispatch already started a gesture,
   proxy dispatch is ignored. Otherwise view-dispatch is restricted to non-gesture
   dispatching only (and proxy-dispatch is already restricted to gesture only).

Bug: 158130948
Change-Id: Ied351663e16beda5acf49a52bdefea881c18b9cf
2020-06-15 11:50:54 -07:00
TreeHugger Robot 832aa03a4b Merge "[race condition] Improve hotseat availability when launcher is recreated" into ub-launcher3-rvc-dev 2020-06-15 18:16:59 +00:00
TreeHugger Robot 8555146d9a Merge "Gates blur code behind BlurUtils#supportsBlursOnWindows." into ub-launcher3-rvc-dev 2020-06-15 18:14:01 +00:00
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 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 e9db94416b Fixing recents animation not getting completed sometimes when using 3P launcher am: fcad20bad9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855087

Change-Id: Ife8ce507eb559f1230f3ab832d9ec2a78c863001
2020-06-13 03:27:58 +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 690b8fb3f2 Merge "Fixing recents animation not getting completed sometimes when using 3P launcher" into ub-launcher3-rvc-dev 2020-06-12 22:35:40 +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 161ed5ad9b Merge "Announce folder content size with folder title" into ub-launcher3-rvc-dev 2020-06-12 21:55:33 +00:00
Vinit Nayak 0055cbe7f3 Notify SysUi on device rotation for back gesture am: 84dc3a45ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11821823

Change-Id: I2e0af00bbe0d4d048991c1126d39c8825dbd5496
2020-06-12 21:41:44 +00:00
Tony Wickham d2d9837b3e Merge "Skip fling anim if it is a no-op, to save a frame of aniamtion" into ub-launcher3-rvc-dev 2020-06-12 21:10:29 +00:00
Tony Wickham 5112cdd30b Skip fling anim if it is a no-op, to save a frame of aniamtion
Bug: 158701272
Change-Id: Id2bc502d1caaeefeca339d5e5ad355ad8ba6d7ec
2020-06-12 14:23:46 -05:00
TreeHugger Robot a41762f846 Merge "Adding a new attribute to speficy folder label directly in layout" into ub-launcher3-rvc-dev 2020-06-12 18:48:51 +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
Samuel Fufa 1150ab3825 Announce folder content size with folder title
Bug: 144094885
Test: Manual
Change-Id: I340f9292b62163e1d72778024f1765c7618084c2
2020-06-12 11:25:32 -07: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
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 662796d18b Merge "Fix quick switching to any task that already appeared" into ub-launcher3-rvc-dev 2020-06-12 05:22:44 +00:00