Commit Graph

60459 Commits

Author SHA1 Message Date
Vinit Nayak 0b73d1014f Hide overview and app icon split option when appropriate
Don't show app menu icon split option or overview
action split option when current taskView is already in
split or there are not at least 2 tasks with which to
invoke split

Fixes: 197245395
Test: Tested with small and large screen,
dismissing tasks in overview, with and without
GroupedTaskView as main running task

Change-Id: I90cc3c39e4d94662cb87314a210d45d145b6e026
2021-08-31 20:23:36 -07:00
Android Build Coastguard Worker 331f2b7495 Snap for 7692502 from 0afd598570 to tm-release
Change-Id: Ie8b462faefe10e585b62cab3d62ddbb7af7ae332
2021-09-01 03:08:00 +00:00
Evan Rosky b7faa3d533 Merge "Fix NPE that happens occasionally on start-up" into sc-v2-dev am: 8a0e91b330 am: e0729a2cef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15730945

Change-Id: I19688906ad851ec0778bd07a48f175bd571a514b
2021-09-01 01:59:48 +00:00
Evan Rosky e0729a2cef Merge "Fix NPE that happens occasionally on start-up" into sc-v2-dev am: 8a0e91b330
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15730945

Change-Id: I20c2eea060fc170e888d4aa8ec9e834507f85ee5
2021-09-01 01:48:16 +00:00
Evan Rosky 8a0e91b330 Merge "Fix NPE that happens occasionally on start-up" into sc-v2-dev 2021-09-01 01:29:06 +00:00
vadimt 5cca2265b6 Revert "Band-aid for getHomeActivities returning null"
This reverts commit 42a7d1af83.
REASON FOR REVERT: the underlying framework bug is fixed

Test: presubmit
Bug: 187080582

Change-Id: If580a35196ba9a9c5e3a5da642a2ea3aa3d9048e
2021-08-31 18:04:59 -07:00
y bd8d9150e0 [AllApps] Polish views according to specs
Bug: 196391749 Update work edu button stroke color
Bug: 195497351 Update header font size for work apps paused state
Bug: 192673256 Show ArrowTip elevation
Bug: 192668800 Support for two line PopupOption view
Test: visual
Change-Id: I65f8c6152f54306756d6cb66de2581aff45b8d47
2021-08-31 17:04:46 -07:00
TreeHugger Robot 0afd598570 Merge "Preventing workspace scroll over QSB area" into sc-v2-dev am: cb776ca518 am: a30438a13f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15694303

Change-Id: Ic99fb72e9ecb64a2403414b68cfec73153342b4f
2021-08-31 23:43:51 +00:00
TreeHugger Robot a30438a13f Merge "Preventing workspace scroll over QSB area" into sc-v2-dev am: cb776ca518
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15694303

Change-Id: Ie2ac07e5e41ee98d1eb439c752724fb2b2936d7b
2021-08-31 23:31:56 +00:00
TreeHugger Robot cb776ca518 Merge "Preventing workspace scroll over QSB area" into sc-v2-dev 2021-08-31 23:17:52 +00:00
Android Build Coastguard Worker 45ac81fff0 Snap for 7691524 from e34c2f8272 to sc-v2-release
Change-Id: I2fba2717ae575477aa236710e87161bb27870c8f
2021-08-31 23:08:03 +00:00
TreeHugger Robot 83470b5dd0 Merge "Fix some taskbar stashing issues" into sc-v2-dev am: ff705eabe6 am: 6cdcc25465
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15728603

Change-Id: I6da222deeeac85b192303c3dcc7e184040deded0
2021-08-31 23:06:37 +00:00
TreeHugger Robot 6cdcc25465 Merge "Fix some taskbar stashing issues" into sc-v2-dev am: ff705eabe6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15728603

Change-Id: I049ff420aad926df7b1a3fd78510ae26e616ebdc
2021-08-31 22:51:51 +00:00
TreeHugger Robot ff705eabe6 Merge "Fix some taskbar stashing issues" into sc-v2-dev 2021-08-31 22:38:01 +00:00
Tony Wickham f1042837df Merge "Fix NPEs when swiping up from keyguard" into sc-v2-dev am: ff2171d232 am: 0e3a685ce4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15728602

Change-Id: I10a20ca3529b8307820d1be78edf9a5941479c32
2021-08-31 22:28:01 +00:00
Tony Wickham 0e3a685ce4 Merge "Fix NPEs when swiping up from keyguard" into sc-v2-dev am: ff2171d232
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15728602

Change-Id: Ief83226aee6b9ee7cc0f1d58fb14d9bfce0934dd
2021-08-31 22:13:01 +00:00
Evan Rosky c12b7355b1 Fix NPE that happens occasionally on start-up
Was not checking if topActivity was null.

Bug: 189935087
Test: boot phone thousands of times.
Change-Id: I3c779be5f09d82d52a3df9478c801a1963e0a5c2
2021-08-31 15:10:47 -07:00
Tony Wickham ff2171d232 Merge "Fix NPEs when swiping up from keyguard" into sc-v2-dev 2021-08-31 21:59:54 +00:00
Tony Wickham 42b0395fee Fix some taskbar stashing issues
- Don't allow long press to stash between taskbar icons
- Ensure taskbar_icon_touch_size is respected; previously it wasn't, because BubbleTextView@shouldIgnoreTouchDown() was returning true in the padding region. For taskbar, we want the whole icon size to be touchable.
- Cancel long press when passing touch slop to avoid swipe down being detected as long press

Test: long press on taskbar background, both between icons and not; swipe down on taskbar
Fixes: 198305464
Change-Id: I36f1d792e91da9a3bf57a2bef1e974b299c4e25c
2021-08-31 14:06:09 -07:00
Samuel Fufa e48771735d Merge "[Search] Update AllApps header protection" into sc-v2-dev am: e34c2f8272 am: 7f8e1c7213
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15619042

Change-Id: I7fa29902406eca8a3e962d2a1c359e8e53f08ebe
2021-08-31 18:43:40 +00:00
Samuel Fufa 7f8e1c7213 Merge "[Search] Update AllApps header protection" into sc-v2-dev am: e34c2f8272
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15619042

Change-Id: Idb864ce8f0214f5a00cf03cfcffb667b3349d772
2021-08-31 18:27:27 +00:00
Samuel Fufa e34c2f8272 Merge "[Search] Update AllApps header protection" into sc-v2-dev 2021-08-31 18:08:34 +00:00
Thales Lima 60936f5eac launcher: show smartspace date card on Wallpaper & style
Smartspace requires a lot of information to show cards, and it shouldn't
be required to show a preview for the user on how the home screen looks
like. This changes that to always use the date card from smartspace.

Fixes: 197328474
Test: open Wallpaper & style
Change-Id: I4718a1c0397172f654b7b6b4beb96b50b3b9eeb3
2021-08-31 18:32:02 +01:00
Tony Wickham b922452bf5 Fix NPEs when swiping up from keyguard
- In onRecentsAnimationCanceled
- In applyLoadPlan

Test: Lock screen from home screen, swipe up from bottom of keyguard
Fixes: 197622171
Change-Id: Ibb6b292cb99ad2f08e402c1a6e311b819c5f7d73
2021-08-31 10:02:59 -07:00
TreeHugger Robot d935937d8d Merge "Revert "Revert "Migrating all model tests to Instrumentation tests""" into sc-v2-dev am: 667bda8448 am: b855314c6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15696989

Change-Id: Ie64db49d16eca1da431f30f538901de592380796
2021-08-31 11:16:26 +00:00
TreeHugger Robot b855314c6d Merge "Revert "Revert "Migrating all model tests to Instrumentation tests""" into sc-v2-dev am: 667bda8448
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15696989

Change-Id: Id456f71d5772f565f8ff37d2fca99d4833529e01
2021-08-31 11:04:15 +00:00
TreeHugger Robot 667bda8448 Merge "Revert "Revert "Migrating all model tests to Instrumentation tests""" into sc-v2-dev 2021-08-31 10:52:02 +00:00
Sunny Goyal 777d49062f Revert "Revert "Migrating all model tests to Instrumentation tests""
This reverts commit 7a4a30d86d.

Test: Presubmit
Reason for revert: Fixing original bug

Bug: 196825541
Change-Id: Id4b1eb24a89564d264266d305aebea52917dfcd9
2021-08-31 10:51:52 +00:00
TreeHugger Robot d6f3763e20 Merge "Enables Taskbar Edu by default." into sc-v2-dev am: a0426f9743 am: 05b8c10cab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15687335

Change-Id: Iad7e6f9b50bd69725b204dccb39dc66094508ecf
2021-08-31 04:36:42 +00:00
TreeHugger Robot 05b8c10cab Merge "Enables Taskbar Edu by default." into sc-v2-dev am: a0426f9743
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15687335

Change-Id: I706c751df5240a4b5c737f2d1ac1ead8abb87230
2021-08-31 04:24:55 +00:00
TreeHugger Robot a0426f9743 Merge "Enables Taskbar Edu by default." into sc-v2-dev 2021-08-31 04:14:28 +00:00
Android Build Coastguard Worker 4faa41aca1 Snap for 7688365 from cf1f1d1966 to tm-release
Change-Id: I9b04e1af4c6ed6d47574d6a1c0d455f4b581911d
2021-08-31 03:07:50 +00:00
Alan Viverette 512b3b75f5 Merge "Revert "Temporarily disable Launcher3 tests affected by fling changes"" 2021-08-31 01:14:39 +00:00
Android Build Coastguard Worker b55df44a93 Snap for 7687813 from 3c79aa579b to sc-v2-release
Change-Id: I4de40d0104688c69c0c91bb25bfdb8413f700f0a
2021-08-30 23:08:18 +00:00
Thiru Ramasamy cf1f1d1966 Merge "Add RESERVE_NEW_UI_EVENT_ID field to EventEnum interface." into sc-v2-dev am: e55c0feb43 am: 950e1be83f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15669032

Change-Id: Ie59b0db6ba150654b93506b9a6df2a67e5932b0b
2021-08-30 21:46:32 +00:00
TreeHugger Robot 148174c582 Merge "Launch multiple tasks at once" into sc-v2-dev am: 438f796626 am: e764643f0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15705481

Change-Id: I51eea24df7b443045a7f38af032c013e46ea3a1e
2021-08-30 21:46:26 +00:00
Thiru Ramasamy 950e1be83f Merge "Add RESERVE_NEW_UI_EVENT_ID field to EventEnum interface." into sc-v2-dev am: e55c0feb43
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15669032

Change-Id: Ifb94d49a8ca3a82eab474816b0b6c0ca89b84cb1
2021-08-30 21:31:45 +00:00
TreeHugger Robot e764643f0b Merge "Launch multiple tasks at once" into sc-v2-dev am: 438f796626
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15705481

Change-Id: I79b5fc2781fd6746cdcf4ee08c7216548c2479fa
2021-08-30 21:31:39 +00:00
Thiru Ramasamy e55c0feb43 Merge "Add RESERVE_NEW_UI_EVENT_ID field to EventEnum interface." into sc-v2-dev 2021-08-30 21:22:15 +00:00
TreeHugger Robot 438f796626 Merge "Launch multiple tasks at once" into sc-v2-dev 2021-08-30 21:18:28 +00:00
Lucas Dupin 1c8c95cdeb Merge "Dispatch blur radius for BACKGROUND_APP state" into sc-v2-dev am: 512f95131c am: 04f5147e15
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15694306

Change-Id: Id9ad727cd0de31a96f8c690b3e84668e1f317c5a
2021-08-30 21:04:24 +00:00
Lucas Dupin 04f5147e15 Merge "Dispatch blur radius for BACKGROUND_APP state" into sc-v2-dev am: 512f95131c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15694306

Change-Id: I0b5a6ab8da1e1f31814fc5facc30aa1cb78da028
2021-08-30 20:48:57 +00:00
Jon Miranda f3bbd98bf8 Allow users to dismiss notifications in popup view.
Bug: 193014051
Test: - dismiss notifications (left/right)
      - open popup, dismiss notification from shade
        and ensure popup gets updates
      - open popup, trigger new notification
        and ensure popup gets updated

Change-Id: Iea4d458218cbf5cb22f5f89aa0a4cc1bee18cc73
2021-08-30 20:38:16 +00:00
Lucas Dupin 512f95131c Merge "Dispatch blur radius for BACKGROUND_APP state" into sc-v2-dev 2021-08-30 20:33:57 +00:00
TreeHugger Robot d9b7c828de Merge "Adding a test artifact for logcat with only interesting tags" into sc-v2-dev am: 3c79aa579b am: a90d8b6e51
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15697537

Change-Id: I911779a0ccb501159bb49965bc492235bf48d155
2021-08-30 19:31:15 +00:00
Vinit Nayak dd85a9c0a6 Launch multiple tasks at once
Bug: 195675206

Change-Id: I31c76e8dfec617092f73e989ce94bf0ab693d0d1
2021-08-30 19:24:43 +00:00
TreeHugger Robot a90d8b6e51 Merge "Adding a test artifact for logcat with only interesting tags" into sc-v2-dev am: 3c79aa579b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15697537

Change-Id: I0c88adfda8827b1c6c88ddcb53ed33ed45262d35
2021-08-30 19:08:27 +00:00
Peter Kalauskas 1beab2a3d7 Fix crash in Go Launcher
Bug: 198141465
Test: Check that wembley is usable after unlocking
Change-Id: I37620be4f24a2f0f8f08483991fad7760415b67c
2021-08-30 12:00:49 -07:00
Thiru Ramasamy 4df46b1da2 Add RESERVE_NEW_UI_EVENT_ID field to EventEnum interface.
Bug: 193797130
Test: NA
Change-Id: I786ff0222f2fd4c5cbc2598fe4b3e22733233f8b
2021-08-30 11:52:24 -07:00
TreeHugger Robot 3c79aa579b Merge "Adding a test artifact for logcat with only interesting tags" into sc-v2-dev 2021-08-30 18:45:42 +00:00