android-build-team Robot
f5aad9873f
Merge cherrypicks of [14457741, 14457345, 14457244, 14457302] into sc-v2-release
...
Change-Id: I07cdd377d9f09e90f37525ce5d1bc98391610b0e
2021-05-06 23:47:28 +00:00
Samuel Fufa
a092e84f61
Merge "[WorkProfile] Update work/personal tab to pills" into sc-dev am: f94540b28a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14411679
Change-Id: If75348fcfb3996f6d379e505fb13e7e742f3fec7
2021-05-06 23:47:17 +00:00
android-build-team Robot
42404b9806
Merge cherrypicks of [14457231, 14457232, 14457782, 14457768] into sc-release
...
Change-Id: Ia175e574730ee30df4cfe7e3017620957f244d74
2021-05-06 23:46:38 +00:00
TreeHugger Robot
5d365d6e23
Merge "Explicitly set mAllowGoingDown = false when only up is allowed" into sc-dev am: 2b93dbb0b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14444776
Change-Id: I562f118afcaaa8bb8ce080e67fd8d8a5af08c717
2021-05-06 23:46:32 +00:00
Tony Wickham
58952332c4
Some cleanup for handler invalidation
...
- Cancel reapplyWindowTransformAnim when STATE_HANDLER_INVALIDATED
- Set mActivity and mRecentsView = null in
invalidateHandlerWithLauncher() instead of posting from
invalidateHandler()
- Just in case, ignore onActivityInit() if we're already invalidated
Test: Tap repeatedly in nav region in an app, no crash
Fixes: 186983662
Change-Id: I3c005099b46ebb7c9203bcfcceedf48679dd1965
(cherry picked from commit 95e62812b2 )
2021-05-06 23:45:39 +00:00
Tony Wickham
59f67752ad
Some cleanup for handler invalidation
...
- Cancel reapplyWindowTransformAnim when STATE_HANDLER_INVALIDATED
- Set mActivity and mRecentsView = null in
invalidateHandlerWithLauncher() instead of posting from
invalidateHandler()
- Just in case, ignore onActivityInit() if we're already invalidated
Test: Tap repeatedly in nav region in an app, no crash
Fixes: 186983662
Change-Id: I3c005099b46ebb7c9203bcfcceedf48679dd1965
(cherry picked from commit 95e62812b2 )
2021-05-06 23:45:35 +00:00
Tracy Zhou
adc109cabe
Null check RecentsView before calling launchSideTaskInLiveTileMode
...
Test: N/A
Fixes: 185066406
Change-Id: Ic85bbe02b93c7cc652543138d3ea79f7892c7268
2021-05-06 16:36:31 -07:00
Samuel Fufa
f94540b28a
Merge "[WorkProfile] Update work/personal tab to pills" into sc-dev
2021-05-06 23:33:06 +00:00
TreeHugger Robot
2b93dbb0b8
Merge "Explicitly set mAllowGoingDown = false when only up is allowed" into sc-dev
2021-05-06 23:26:14 +00:00
Hongwei Wang
a608df0c81
Support entering PiP from live tile
...
When finish the recents animation, send user leave hint if live tile is
currently on. Note that we force the PiP window fades in in this case.
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bLoRpbgcyZBt1UiQPZEXcF
Bug: 187421300
Test: manual, see video
Change-Id: I07bc307c5eb895cd23b764af92e39ff7e6f8e805
2021-05-06 16:10:44 -07:00
Steven Ng
b16b9f2971
Merge "Only show collapse handle when the bottom widgets picker is scrollable" into sc-dev am: 1b28e6d40a am: ddada389f7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14453618
Change-Id: I2f091b703b438c08ed8fc111a05932bc1857f9f4
2021-05-06 22:31:23 +00:00
Steven Ng
ddada389f7
Merge "Only show collapse handle when the bottom widgets picker is scrollable" into sc-dev am: 1b28e6d40a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14453618
Change-Id: I3ae5a7e0770624f93ff4ef17991bd36ee68d5245
2021-05-06 22:15:54 +00:00
Steven Ng
bf2b94ed26
Merge "Only show collapse handle when the bottom widgets picker is scrollable" into sc-dev am: 1b28e6d40a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14453618
Change-Id: I297d4d774034c9db2a4b2e7ec05eaddba505913c
2021-05-06 22:13:48 +00:00
Steven Ng
78a3d40703
Merge "Only show collapse handle when the bottom widgets picker is scrollable" into sc-dev am: 1b28e6d40a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14453618
Change-Id: Ie103ef153b2480d8c973818524ca4ceb5d6b7a47
2021-05-06 22:13:36 +00:00
Steven Ng
293d51879a
Merge "Only show collapse handle when the bottom widgets picker is scrollable" into sc-dev am: 1b28e6d40a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14453618
Change-Id: I080da891e694a0cab8f9d56f6d253524168937f6
2021-05-06 22:13:18 +00:00
Steven Ng
e675a8e6b4
Fix full widgets picker fast scroll offset issue
...
Even though there is no change in fast scroller offset, the recycler view
scroll Y may still be updated. Let's also notify a scroll change if
the recycler view scroll has changed when updating the fast scroller thumb
offset.
Test: In the full widgets picker, scroll up and down with the fast
scroller. Then, scroll up and down in the recycler view. The top
section is scrolled together with the recycler view smoothly.
Bug: 183721076
Change-Id: I009fc7e27c8a20505a60502405ebbf695b5a37f2
2021-05-06 22:58:47 +01:00
Hyunyoung Song
a1b7851b53
Revert "Don't crash on dialer app target search results"
...
This reverts commit 67edf1654c .
Reason for revert: this was temporary launcher side fix until aiai
proper fix was made and dropped to the system image.
Bug: 186412929
Change-Id: Idd3abe3fe2104c316aeff16e11d8110dfee7e0d1
2021-05-06 21:55:51 +00:00
Steven Ng
1b28e6d40a
Merge "Only show collapse handle when the bottom widgets picker is scrollable" into sc-dev
2021-05-06 21:55:19 +00:00
Hongwei Wang
9d1514b4f2
Get PiP round corner radius from WMShell
...
Fixed also the issue that when
SystemUiProxy#setPinnedStackAnimationListener is called,
SystemUiProxy#mPiP may not have been initialized, defer the set/register
action in SystemUiProxy#setProxy if applicable.
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/dmUy8qBEMxHShFcFKB3cT3
Bug: 171721389
Test: make sure autoEnterPip has round corner support, see video
Change-Id: I38866bbc77bc2fa94f0197bb90c02e786198443e
2021-05-06 14:39:23 -07:00
Schneider Victor-tulias
344b200710
Updated launcher logging.
...
Updated logging to help track down b/168788486
Bug: 168788486
Test: manual
Change-Id: I064f0eb70f0281fb09083b95c321857d17e31a7d
2021-05-06 21:39:05 +00:00
Sunny Goyal
8fb9fd76c3
Merge "Linking various settings that control icon cache to icon state" into sc-dev am: eab1f9bfbe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430001
Change-Id: Ia9c080649db45a095aa25a8cfc47e81443bcce32
2021-05-06 21:20:16 +00:00
Sunny Goyal
c24ab51afb
Merge "Linking various settings that control icon cache to icon state" into sc-dev am: eab1f9bfbe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430001
Change-Id: I078a02d5b7682e2ae8842fc8620941f87172782e
2021-05-06 21:19:59 +00:00
Sunny Goyal
41077b8c06
Merge "Linking various settings that control icon cache to icon state" into sc-dev am: eab1f9bfbe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430001
Change-Id: Ia29435e1c144a668367cf757e05b23fbaa57a0fc
2021-05-06 21:19:39 +00:00
Sunny Goyal
e5945c77df
Merge "Linking various settings that control icon cache to icon state" into sc-dev am: eab1f9bfbe am: 5386e98900
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430001
Change-Id: I02f302f232dca3f761f14829d2dad077b71b80f2
2021-05-06 21:11:02 +00:00
Sunny Goyal
5386e98900
Merge "Linking various settings that control icon cache to icon state" into sc-dev am: eab1f9bfbe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430001
Change-Id: Ib85d5ee9beb61bb21e9e72d9589b9906e3b09f83
2021-05-06 21:03:58 +00:00
Vinit Nayak
12df8aa9f2
Merge changes from topics "taskbar3Button", "taskbarIME" into sc-dev am: b2993d65b7 am: f5f6fd0e21
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14215248
Change-Id: I599bd74665785c1d5e55b8f469355823c8736f6c
2021-05-06 21:03:30 +00:00
Vinit Nayak
fddee817cd
Initial commit of 3 button work am: 16fd85629d am: 35d67239f7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989017
Change-Id: Ifcd7094ecdbb9a846800dcd8bc61b4b72a9f81fa
2021-05-06 21:03:29 +00:00
Sunny Goyal
eab1f9bfbe
Merge "Linking various settings that control icon cache to icon state" into sc-dev
2021-05-06 20:59:54 +00:00
Vinit Nayak
f5f6fd0e21
Merge changes from topics "taskbar3Button", "taskbarIME" into sc-dev am: b2993d65b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14215248
Change-Id: I694075af1cab1c98e3a4a473a09af6b749519701
2021-05-06 20:56:43 +00:00
Vinit Nayak
35d67239f7
Initial commit of 3 button work am: 16fd85629d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989017
Change-Id: I0b1b5fb6c865d3e100a49b9f31cf34ccb6146b5f
2021-05-06 20:56:42 +00:00
Vinit Nayak
c97a9c9e6b
Merge changes from topics "taskbar3Button", "taskbarIME" into sc-dev am: b2993d65b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14215248
Change-Id: I0fa38b70057522057556e6d12f9c1a4cba349d7a
2021-05-06 20:54:57 +00:00
Vinit Nayak
17e84027fe
Initial commit of 3 button work am: 16fd85629d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989017
Change-Id: I34007cf2d6dd0b1328ae3e248bcafef801502d68
2021-05-06 20:54:56 +00:00
Vinit Nayak
0fc3718edc
Merge changes from topics "taskbar3Button", "taskbarIME" into sc-dev am: b2993d65b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14215248
Change-Id: If444c8f0deec3cc8843df8e3686570539a8484b3
2021-05-06 20:54:44 +00:00
Vinit Nayak
82872dc5ce
Initial commit of 3 button work am: 16fd85629d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989017
Change-Id: Ief64479b0600863b6b539a48dd45d35c6492a6c8
2021-05-06 20:54:43 +00:00
Vinit Nayak
a66716d953
Merge changes from topics "taskbar3Button", "taskbarIME" into sc-dev am: b2993d65b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14215248
Change-Id: I29e35a601ee7972b394c4adf402999e1c6c3ee0a
2021-05-06 20:54:22 +00:00
Vinit Nayak
d0aa4130c1
Initial commit of 3 button work am: 16fd85629d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989017
Change-Id: Iff11098781b1470c629a8ee505ead67476fa0862
2021-05-06 20:54:21 +00:00
Vinit Nayak
b2993d65b7
Merge changes from topics "taskbar3Button", "taskbarIME" into sc-dev
...
* changes:
Add IME switcher/hide button bar when IME showing
Initial commit of 3 button work
2021-05-06 20:47:41 +00:00
Alex Chau
e9b2bf514b
Use mWindowContext instead of re-creating to avoid stale Resource
...
- ag/14286682 changed to re-create window context in onConfigChange, which regressed the stale Resource problem, changed back to use mWindowContext instead
- Removed unnecessary extraInternalDisplays empty check, as empty / before S is already handled inside Display Info CTOR
Test: Change display size between default and large, taskbar is enabled/disabled correctly
Bug: 181215299
Change-Id: I7397d2dc1a1ce8e132e706e9de592558df6a18e7
2021-05-06 19:34:49 +01:00
Tony Wickham
c68b04c54b
Merge changes I9749124a,Ic59b877c,Ibe8734e8 into sc-dev am: 1282050f2f am: 878a005d07
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14448428
Change-Id: Ifb451869fbc58b339aab1385156feafbe7085096
2021-05-06 18:03:17 +00:00
Tony Wickham
878a005d07
Merge changes I9749124a,Ic59b877c,Ibe8734e8 into sc-dev am: 1282050f2f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14448428
Change-Id: If2cd0304bb0677cb8b03070fc2e882ae11dc2aba
2021-05-06 17:49:21 +00:00
Tony Wickham
97a97f882b
Merge changes I9749124a,Ic59b877c,Ibe8734e8 into sc-dev am: 1282050f2f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14448428
Change-Id: I5066847dd1dd8b38407bd02d6db51315655a0d46
2021-05-06 17:47:48 +00:00
Tony Wickham
c2b4a149db
Merge changes I9749124a,Ic59b877c,Ibe8734e8 into sc-dev am: 1282050f2f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14448428
Change-Id: I5cd900a98ea9f36eb2009ef0a6142fc78a981ee3
2021-05-06 17:47:23 +00:00
Tony Wickham
9065aef3af
Merge changes I9749124a,Ic59b877c,Ibe8734e8 into sc-dev am: 1282050f2f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14448428
Change-Id: Ia47243fc63bc42d852b2323efbf1db9c3e91cedb
2021-05-06 17:47:23 +00:00
Tony Wickham
1282050f2f
Merge changes I9749124a,Ic59b877c,Ibe8734e8 into sc-dev
...
* changes:
Fix running task damped by overscroll when other tasks are offscreen
When overview appears from motion pause, come up from bottom
Align home/back button from overview with tap outside
2021-05-06 17:29:25 +00:00
Steven Ng
57347bd6b7
Only show collapse handle when the bottom widgets picker is scrollable
...
Test: Go to contact bottom widgets picker. No collapse handle is
shown because the content isn't scrollable. Go to Google calendar
bottom widget picker. Collapse handle is hown because the content
is scrollable.
Bug: 185134663
Change-Id: Ic6109c055a072aa1cf3521f829833fd5f4cece0f
2021-05-06 17:39:49 +01:00
Alex Chau
c8bd480bd5
Make focus task a bit bigger
...
Bug: 175939487
Test: manual
Change-Id: I0e4a13e02331ab9f4a8b1634197d7bf268edac68
2021-05-06 17:28:55 +01:00
ryanlwlin
c08253f3df
Do not detect system gesture with new system ui state flag
...
If the device is in 2-button or gesturl navgiation mode,
touch events will be cancelled in the nav bar area. It leads
to that users couldn't drag the window magnification via
draghandle.
To fix it, we add a new system ui state flag to stop detecting
system gesture if it is set to true. This flag should be set only
when the window magnification is overlapped with the nav bar from
windowinsets.
Bug: 179648683
Test: manually test
Change-Id: I978a4b7d631e4115b293d341a89baee151c2881a
2021-05-06 20:45:09 +08:00
Alex Chau
ab83035246
Merge "Maintain TaskView's scroll invariant when swiping down" into sc-dev am: c9744631f4 am: 8e0022c532
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425536
Change-Id: Ic64ac2203c0a0fda8b1da7d7728fc6cf2bf00211
2021-05-06 11:37:47 +00:00
Alex Chau
8e0022c532
Merge "Maintain TaskView's scroll invariant when swiping down" into sc-dev am: c9744631f4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425536
Change-Id: Id96456598f28ddf6542c3b1242bcdcddbffdd857
2021-05-06 11:16:11 +00:00
Alex Chau
0f233dcd61
Merge "Maintain TaskView's scroll invariant when swiping down" into sc-dev am: c9744631f4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425536
Change-Id: I1c1f57e02aa53708c2abb1a46c58b3f4d0e43cac
2021-05-06 11:14:27 +00:00