TreeHugger Robot
b15c3d3016
Merge "Persist prediction cache on every update" into rvc-dev am: 7f1f8030db am: 53d65ac84c am: 0444a7377b am: 42f8b7d95a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12077951
Change-Id: I25680876c9e86bfa91bf8e232f2d336ae3d459db
2020-07-08 19:19:23 +00:00
TreeHugger Robot
7f1f8030db
Merge "Persist prediction cache on every update" into rvc-dev
2020-07-08 18:35:26 +00:00
Sunny Goyal
bb84ab3d66
Fixing recents orientation (when home rotation is allowed) during swipe-up am: 52f2392405 am: e58055d79d am: a63a7a0471 am: f2d234834c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12102312
Change-Id: I077a4f24565d8c4dfb989171b34a96f89b16a32a
2020-07-08 05:57:38 +00:00
Sunny Goyal
52f2392405
Fixing recents orientation (when home rotation is allowed) during swipe-up
...
Bug: 158781568
Bug: 160149607
Change-Id: I27be09febcdb6f19687469db34b002ce682aa0cb
Merged-In: I27be09febcdb6f19687469db34b002ce682aa0cb
(cherry picked from commit 141c231d2f )
2020-07-08 00:24:29 +00:00
Sunny Goyal
f16456f686
Persist prediction cache on every update
...
Test: Manual
Bug: 160058750
Change-Id: Icb0b7322b7f9754d3f1c3012e1c98a760f83c787
2020-07-07 18:22:37 +00:00
TreeHugger Robot
289aca6a0e
Merge "Guard swipe to notification gesture with system settings preference"
2020-07-07 02:02:11 +00:00
Jerry Chang
779efaca91
Guard swipe to notification gesture with system settings preference
...
Bug: 154080211
Test: make and install, check the gesture works as expectedly
Change-Id: Ibd6bbd595d2fba5d68e66eb54e4a7fec160b9bf8
2020-07-01 11:44:02 +08:00
Thiru Ramasamy
91ee0a6e37
Merge "Fixes NPE with system shortcuts." into rvc-dev am: 6f5d4bb8ab am: fc49c2c54a am: 31cfe34963 am: adf1fe59b9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12035575
Change-Id: I4a070ef7f9c53faebba42cd1e2744f8479ebe9aa
2020-06-30 00:37:03 +00:00
Thiru Ramasamy
6f5d4bb8ab
Merge "Fixes NPE with system shortcuts." into rvc-dev
2020-06-29 23:35:59 +00:00
Zak Cohen
1562c3de18
Thumbnail Cache - check canceled status on the right thread. am: 19797b419b am: 987ba0261f am: 4163325b9c am: c01ab27bce
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12029198
Change-Id: Ib5e004cae554832050f1a3efff5276bf3399d126
2020-06-29 22:59:17 +00:00
thiruram
43bf883841
Fixes NPE with system shortcuts.
...
Bug: 160109140
Change-Id: I35c00fc1792fcf11fc61e1876f9184bd5fb309ce
(cherry picked from commit 53925ff9c6 )
2020-06-29 19:44:28 +00:00
Zak Cohen
19797b419b
Thumbnail Cache - check canceled status on the right thread.
...
The cache was checking the canceled status on the background
thread, but the cancel call was being made on the main thread.
This was leading to canceled requests still delivering this thumbnail
in some cases.
Bug: 159840851
Test: local build and non-repo of bug
Change-Id: I9a3556f6570eee1db39ebec202c115d58010d7f8
2020-06-29 04:11:04 +00:00
TreeHugger Robot
879ba9803d
Merge "Add NPE check for prediction controller" into rvc-dev am: f8e12b78bf am: 53c7ddd7fd am: 39e1af9a27 am: 4585f9f3c5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12001481
Change-Id: I18caa4806f4933059fb1bdc5165e5aa80b5bd605
2020-06-26 20:45:18 +00:00
Samuel Fufa
0036b2b67a
Add NPE check for prediction controller
...
Bug: 159835714
Test: Manual
Change-Id: I9cc03f6491f4e14462be6c01edf3ed4ca1d82136
2020-06-25 20:10:01 +00:00
TreeHugger Robot
d9dd5cec0f
Merge "Pass isLikelyToStartNewTask to onGestureStarted()" into rvc-dev am: ccf588d36b am: 6be2c6cb83 am: 40483a5399 am: 4073796ff7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11994586
Change-Id: Ic1582747cd4d16c5df22ce4e6d0e5716d17aebfd
2020-06-25 18:07:35 +00:00
TreeHugger Robot
ccf588d36b
Merge "Pass isLikelyToStartNewTask to onGestureStarted()" into rvc-dev
2020-06-25 16:38:47 +00:00
Andy Wickham
3b98451394
Updates Assistant gesture regions when no longer tracking multiple. am: d2731957ea am: 3fef2dd92d am: 98f26d1a15 am: 5cf822dff3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11992046
Change-Id: I2769af25a543a8860d7533f8e677e958d2b4b0ef
2020-06-25 03:21:00 +00:00
Tony Wickham
9e84745e4b
Pass isLikelyToStartNewTask to onGestureStarted()
...
This ensures we immediately setRecentsAttachedToAppWindow(). As
mentioned in the bug, there was an edge case where we would animate
the attached state if the first move event passed the touch slop,
causing the adjacent task view to lag behind during the gesture.
Fixes: 159742520
Change-Id: Ie47bb84fdd3dbd69e3b74ca504d487fb9aedb551
(cherry picked from commit c6a56ef7a2 )
2020-06-25 02:11:04 +00:00
Andy Wickham
d2731957ea
Updates Assistant gesture regions when no longer tracking multiple.
...
This should prevent states where Assistant triggers from
the vertical-center of the screen in portrait (see bug).
Also fleshes out OrientationTouchTransformerTests and
adds some new ones that fail without this change:
- enableMultipleRegions_assistantTriggersInMostRecent
- enableMultipleRegions_assistantTriggersInCurrentOrientationAfterDisable
Fixes: 158686674
Change-Id: I6d045a485f62e4010e9e3d00805a50fdd953a2fc
(cherry picked from commit 4b531b972d )
2020-06-24 22:32:14 +00:00
TreeHugger Robot
bd053698af
Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev am: ca493d1426 am: 3af603f240 am: 39d753dfff am: ebce67c523
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11978215
Change-Id: Ieeca4b86744eedcfc400b31884839c271a77fd8e
2020-06-24 07:50:35 +00:00
TreeHugger Robot
ca493d1426
Merge "Fixing NPE befre ActionsView first initialized." into rvc-dev
2020-06-24 06:52:16 +00:00
TreeHugger Robot
cb0bd36e79
Merge "Remove hotseat edu flag" into rvc-dev am: d6cd14d179 am: e65a33134d am: 373d9f4d88 am: fc8bfcf97f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11979630
Change-Id: Iac5479c15d9f5562c0af9c1f73bdfb2244bec308
2020-06-24 05:27:12 +00:00
Zak Cohen
b9c83bb854
Merge "Fixing TaskMenu positioning." into rvc-dev am: b2b0d4d478 am: c588af043c am: c943b2ed54 am: 202319be61
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11978354
Change-Id: Iec16e12df3fd8ac0f32b96f353cc419adaa03222
2020-06-24 04:53:12 +00:00
TreeHugger Robot
d6cd14d179
Merge "Remove hotseat edu flag" into rvc-dev
2020-06-24 04:43:52 +00:00
TreeHugger Robot
44035d9d17
Merge "Merging from ub-launcher3-rvc-dev @ build 6621659" into rvc-dev am: 738b1af342 am: f7897465e3 am: 808a7c1920 am: dde7797ec5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11975976
Change-Id: Ifdd13981f0e61d248e89a1f10eec3b51369840f4
2020-06-24 04:26:33 +00:00
Sreyas
20024f4447
Fixing NPE befre ActionsView first initialized.
...
Bug: 159728260
Change-Id: I00e6f8fccf8057495f77873f2f0a1ab01e63ed23
(cherry picked from commit 88f1f2046c )
2020-06-24 04:11:05 +00:00
Zak Cohen
b2b0d4d478
Merge "Fixing TaskMenu positioning." into rvc-dev
2020-06-24 03:58:19 +00:00
TreeHugger Robot
18575b5c77
Merge "Prevent premature resetting of quickswitch mode" into rvc-dev am: 1c90b51de6 am: 995cab35af am: 3d040cfadd am: 34f04fe1df
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11977176
Change-Id: Ic81575a194a8c86ea57b40752d1f3d3ba2ee0705
2020-06-24 03:45:24 +00:00
Samuel Fufa
6293af5575
Remove hotseat edu flag
...
Launcher should not restrict user migration to a one time event if we want users to migrate their hotseat by enabling hotseat prediction from suggestion settings.
Test: Manual
Bug: 159731272
Change-Id: I0e42dd6b6cf6374928e5b399d121d17fe8024ae1
2020-06-24 02:01:07 +00:00
Sreyas
98ef53458d
Fixing TaskMenu positioning.
...
Bug: 159728554
Change-Id: I4a666363f092b5416edecd0731a0f448916c8def
2020-06-24 00:14:21 +00:00
Sunny Goyal
315eb02012
Merging from ub-launcher3-rvc-dev @ build 6621659
...
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6621659.html
Change-Id: Id9689e3dfa641c0e004c9dc975e281358bed7ad7
2020-06-23 16:28:38 -07:00
Vinit Nayak
d92946356e
Prevent premature resetting of quickswitch mode
...
Previously, whenever a user returned to the same
rotation that they had started quickswitch in,
we were sending sysui the reset flag(-1) indicating
that quickstep was complete instead of sending
the rotation of the device the user was in.
This was intentional and it worked, however we now
always send the active rotation while the user
is in a quickswitch session because sysui needs
to show the fake home handle for immersive apps,
which can occur in any rotation. This state is
distinct from not being in quickswitch at all, in
which no fake handles are shown.
Fixes: 158677967
Change-Id: I910324abf781b4b30fe981139712bcb5b653c318
(cherry picked from commit f2daafcdf8 )
2020-06-23 22:45:44 +00:00
TreeHugger Robot
359a28e934
Merge "Prevent premature resetting of quickswitch mode" into ub-launcher3-rvc-dev
2020-06-23 22:42:48 +00:00
Vinit Nayak
f2daafcdf8
Prevent premature resetting of quickswitch mode
...
Previously, whenever a user returned to the same
rotation that they had started quickswitch in,
we were sending sysui the reset flag(-1) indicating
that quickstep was complete instead of sending
the rotation of the device the user was in.
This was intentional and it worked, however we now
always send the active rotation while the user
is in a quickswitch session because sysui needs
to show the fake home handle for immersive apps,
which can occur in any rotation. This state is
distinct from not being in quickswitch at all, in
which no fake handles are shown.
Fixes: 158677967
Change-Id: I910324abf781b4b30fe981139712bcb5b653c318
2020-06-23 15:07:22 -07:00
Tony Wickham
333e41932b
Store newGestureState before onConsumerAboutToBeSwitched clears it am: b47a99e3cc am: fa5559ff64 am: b2676f22d9 am: bf68d13368
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972618
Change-Id: Id271c5227db2067c4db596f219d56dc37c06b305
2020-06-23 21:47:30 +00:00
Samuel Fufa
a44c09d6c9
Fix hotseat button alignment
...
Screenshot: https://screenshot.googleplex.com/Vr9FXe3oN2t
Bug: 159731214
Change-Id: I9e413f5d9bf0144edd413cc5995e7f1fda152f28
2020-06-23 12:46:30 -07:00
Rajeev Kumar
cadb94983b
Add explicit android:exported="true" declarations
...
We add this for GestureSandboxActivity and
com.android.launcher3.uioverrides.QuickstepLauncher to
reinstate the behavior of go/ag/11746107 which was
incorrectly reverted in go/ag/11963698.
We also add this for HotseatEduActivity which was
newly added in go/ag/11963698.
Bug: 159709775
Test: wembley-userdebug boots and has functioning Launcher
Change-Id: I17904f9ad88abc66364675426545eae423cb3175
2020-06-23 19:06:15 +00:00
Tony Wickham
b47a99e3cc
Store newGestureState before onConsumerAboutToBeSwitched clears it
...
Bug: 159659393
Change-Id: If98d54b7ca397ef56a5c6d50c0fd92f25a9494b4
(cherry picked from commit efb7e60edc )
2020-06-23 16:45:51 +00:00
Hyunyoung Song
85d90a16bc
Merging from ub-launcher3-rvc-dev @ build 6617269
...
Bug: 150504032
Test: manual, presubmit on the source branch
https://android-launcher.teams.x20web.corp.google.com/merge/ub-launcher3-rvc-dev_rvc-dev_6617269.html
Change-Id: I7a13230553f9c42d5f67164234c33cf77efa9cf2
Merged-In: I2a168bfa8e3979ade26ab1d3cddbbae84cf79590
2020-06-23 05:11:31 +00:00
TreeHugger Robot
ea3edf1247
Merge "Log query_length & parent_container for actions on search results." into ub-launcher3-rvc-dev
2020-06-23 02:16:44 +00:00
Hyunyoung Song
0b51b916b0
Merging from ub-launcher3-rvc-dev @ build 6617269
...
Bug: 150504032
Test: manual, presubmit on the source branch
https: //android-launcher.teams.x20web.corp.google.com/merge/ub-launcher3-rvc-dev_master_6617269.html
Change-Id: I2a168bfa8e3979ade26ab1d3cddbbae84cf79590
2020-06-22 18:53:39 -07:00
TreeHugger Robot
7551b6191f
Merge "Store newGestureState before onConsumerAboutToBeSwitched clears it" into ub-launcher3-rvc-dev
2020-06-23 01:33:55 +00:00
thiruram
dbd61d4026
Log query_length & parent_container for actions on search results.
...
Bug: 154717227
Change-Id: I8e7d725014f60a2fd9a7fe13fce705acbc7623ad
2020-06-22 18:14:12 -07:00
Tony Wickham
efb7e60edc
Store newGestureState before onConsumerAboutToBeSwitched clears it
...
Bug: 159659393
Change-Id: If98d54b7ca397ef56a5c6d50c0fd92f25a9494b4
2020-06-22 17:37:07 -07:00
Thiru Ramasamy
51ece1847c
Merge "Adds additional folder label states (UNLABELED & EMPTY_LABEL)" into ub-launcher3-rvc-dev
2020-06-22 21:04:12 +00:00
TreeHugger Robot
ceaad08f06
Merge "Fixing rotation watcher not enabled in landscape" into ub-launcher3-rvc-dev
2020-06-22 21:00:07 +00:00
thiruram
ec75cbd85a
Adds additional folder label states (UNLABELED & EMPTY_LABEL)
...
UNLABELED -> title==null and EMPTY_LABEL -> title=="". When adding new items for the folder if the folder is in UNLABELED state, auto-labeling will be enabled.
This change also addresses auto-labeling issue due to false edit from UNLABELED to EMPTY.
Bug: 159164315
Change-Id: Ia17cd27b4afb60420dc15c544f544061fc46ad33
2020-06-22 13:24:07 -07:00
Hyunyoung Song
5c9a1ef5cd
Merge "Log Launcher transitions to WW" into ub-launcher3-rvc-dev
2020-06-22 20:21:10 +00:00
Sunny Goyal
f67deb8e06
Fixing rotation watcher not enabled in landscape
...
Bug: 159636793
Change-Id: Ia7e5d90e9d441dfbe9877293957eff1ae7f69877
2020-06-22 13:02:53 -07:00
Hyunyoung Song
801f81fba5
Log Launcher transitions to WW
...
- ONRESUME / ONSTOP
- HOME_GESTURE
- OVERVIEW_GESTURE
- QUICKSWITCH
- SWIPELEFT/SWIPERIGHT
Bug: 156875719
Bug: 148822714
Bug: 137777105
Debug log: go/launcher-log-parity
Change-Id: I64a0deab4996b5be36320fbe0339f320891c53e0
2020-06-22 12:09:06 -07:00