Commit Graph

34028 Commits

Author SHA1 Message Date
TreeHugger Robot 78e5366329 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-05 02:12:07 +00:00
Brian Isganitis c2a6378fc1 Merge "Fix crash from previewing launcher with unknown wallpaper colors." into sc-dev am: 200d7634d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15462873

Change-Id: I4965f54b75f9762ef51ed15f27f43f73b2919164
2021-08-05 01:28:12 +00:00
Brian Isganitis 200d7634d1 Merge "Fix crash from previewing launcher with unknown wallpaper colors." into sc-dev 2021-08-05 01:08:00 +00:00
Bill Yi de9757333d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie0b9d15548e43296333e114040f18d787cef6349
2021-08-04 22:17:33 +00:00
Alex Chau 974635127b Merge "Increase motion pause timeout for tests" into sc-v2-dev 2021-08-04 21:59:53 +00:00
Steven Ng f4b1b0af75 Merge "Don't delete widgets that violate min size requirement" into sc-dev am: 5fc53cbc22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455163

Change-Id: I2783668d3315537fd64b2a6175064abbcbbe132f
2021-08-04 20:29:24 +00:00
Steven Ng 5fc53cbc22 Merge "Don't delete widgets that violate min size requirement" into sc-dev 2021-08-04 20:15:45 +00:00
TreeHugger Robot b78e77f581 Merge "Storing form factor as part of backup and disabling restore if form-factor is different" into sc-v2-dev 2021-08-04 19:12:10 +00:00
Alex Chau 0dfe56cff1 Increase motion pause timeout for tests
- In cuttlefish occasionally MOTION_MOVE and MOTION_UP takes more than 300ms due to lag, increasing the motion pause timeout to avoid getting false signals in tests

Bug: 194114179
Test: atest NexusLauncherOutOfProcTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace
Change-Id: I0a33f34b5bf96f4f7ae56020c5a27f4ef9a0ff64
2021-08-04 20:09:06 +01:00
Brian Isganitis dafa5040ef Fix crash from previewing launcher with unknown wallpaper colors.
Test: Open wallpaper app with live wallpaper applied should not crash.
Fix: 195246865
Change-Id: Id64de32b35aa7a553daa752438060d7f6822bec8
2021-08-04 18:31:20 +00:00
Sunny Goyal 68031ca3f9 Storing form factor as part of backup and disabling restore if form-factor is different
Bug: 195301649
Test: Manual
Change-Id: I9a9c4bc9246f40af2209cb914b3966319bc78bff
2021-08-04 09:51:04 -07:00
Sunny Goyal a67358bc8d Merge "Using themed icons in taskbar" into sc-v2-dev 2021-08-04 16:32:15 +00:00
Prabir Pradhan d573948424 Merge "Enable input window rotation flag" into sc-v2-dev 2021-08-04 14:03:24 +00:00
TreeHugger Robot 1e46696161 Merge "Fix Workspace item move issues when using Talkback" into sc-v2-dev 2021-08-04 10:48:22 +00:00
Steven Ng b269cc5150 Don't delete widgets that violate min size requirement
Test: Manual
Bug: 194766124
Change-Id: I4713e65e27da23d833bb60fb556ae8924a63e305
2021-08-04 11:14:09 +01:00
Thales Lima 8d49c4bb29 navigation: don't run gesture animation if gestures are not enabled
Makes the animation when using 3 button navigation be closer to what we
have in non fallback mode, also fixing the problem when fallback recents
just started and don't have any views.

Fix 194487871
Test: manual with gestures, 2 button and 3 button nav

Change-Id: If3925d6bef1d14f51b86169d06607786972f5f1f
2021-08-04 09:24:12 +00:00
Andras Kloczl e32e8641d6 Fix Workspace item move issues when using Talkback
- fix the crash when an item was moved onto the right panel
- fix the issue that prevented the user from moving an item from the left panel

Test: manual
Bug: 194903736
Change-Id: Ib41f5d6d08e8815a52631ef952d32dcf899455e2
2021-08-04 11:04:19 +02:00
Tracy Zhou d50f9a86b1 [automerger skipped] Merge "[DO NOT MERGE] Disable live tile in split mode for S" into sc-dev am: 25399db1e7 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15331686

Change-Id: Ifd57811ab9330027c50e4e3455c928820f017b8e
2021-08-03 22:03:19 +00:00
vadimt 1bda4c5340 Logging to figure out why first dump didn't result in assertion am: 21091ada88
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455400

Change-Id: I8cfd38ae0fbaf9afb08bb02426df3dd2257733ce
2021-08-03 22:03:15 +00:00
Tracy Zhou 25399db1e7 Merge "[DO NOT MERGE] Disable live tile in split mode for S" into sc-dev 2021-08-03 21:50:06 +00:00
Tracy Zhou 145bd74749 [DO NOT MERGE] Disable live tile in split mode for S
Recall link: https://recall.googleplex.com/projects/debb8388-5e38-42c5-99ab-20bdfb92d25e/sessions/655af962-b4bd-4dc4-93aa-178852c0d701

Bug: 193991436
Test: enter split screen and swipe up
Change-Id: I7adffcdefb12d225db207542716a436f29df0377
2021-08-03 20:50:27 +00:00
TreeHugger Robot 1179930b74 Merge "Logging to figure out why first dump didn't result in assertion" into sc-v2-dev 2021-08-03 20:05:19 +00:00
Sunny Goyal 59f1915c9d Using themed icons in taskbar
Bug: 195437559
Test: Verified on device
Change-Id: If8c0a72e037783e96abbaae6b60aa36a686fcfea
2021-08-03 12:25:22 -07:00
vadimt 21091ada88 Logging to figure out why first dump didn't result in assertion
Bug: 195319692
Test: presubmit
Change-Id: I4a80541a58eb8f630211de4b90836c435f6d41b2
2021-08-03 18:47:35 +00:00
vadimt 25f1cd94cc Logging to figure out why first dump didn't result in assertion
Bug: 195319692
Test: presubmit
Change-Id: I4a80541a58eb8f630211de4b90836c435f6d41b2
2021-08-03 11:09:30 -07:00
Steven Ng 61cfa57ad8 Correct cell layout spacing in n-panels UI
Test: manual
Fix: 184966000
Change-Id: I6940413c24f41df0b1ffcfd4bec4b0c5c3497b6d
2021-08-03 16:40:41 +01:00
TreeHugger Robot 4b878f5318 Merge "Follow up CL for controller navigation fix" into sc-v2-dev 2021-08-03 13:20:12 +00:00
Andras Kloczl b063294e60 Follow up CL for controller navigation fix
Fixing unresolved comment: http://shortn/_YCaiPNApNc

Test: manual test with a game controller, check on both normal and two panel home
Bug: 187205980
Change-Id: I8cae48effcce852c85273f16d1107dec90ff6f51
2021-08-03 14:03:58 +02:00
TreeHugger Robot f5c3dab525 Merge "Migrate from using taskIDs to taskViewIDs in RecentsView" into sc-v2-dev 2021-08-03 04:20:42 +00:00
TreeHugger Robot 144b16bbb1 Merge "Band-aid for getHomeActivities returning null" into sc-v2-dev 2021-08-02 19:20:01 +00:00
vadimt 42a7d1af83 Band-aid for getHomeActivities returning null
It can return null immediately after android.intent.action.ACTION_PREFERRED_ACTIVITY_CHANGED
notification.

Test: local
Bug: 187080582
Change-Id: I8625fdfc0add57fed832bdca4713747a005bf08c
2021-08-02 10:38:12 -07:00
Alex Chau 9016e17988 Add ScreenRecord for testDragCustomShortcut
- For investigation of a failing test

Bug: 195263971
Test: manual
Change-Id: If68e678a847f70c5b891c9dbcece77333fedf846
2021-08-02 10:49:42 +01:00
Hongwei Wang b999186b9e Merge "Check PiP permission before entering auto pip" into sc-v2-dev 2021-07-31 03:14:11 +00:00
Brian Isganitis bb6bb5bbbd Merge "Adding support for overriding long-press menu in Launcher" into sc-v2-dev 2021-07-30 22:47:46 +00:00
TreeHugger Robot f02c754eb9 Merge "Fix Launcher3 tests for tablets" into sc-v2-dev 2021-07-30 22:36:52 +00:00
Jonathan Miranda 4edf78695d Merge "Add more restrictions on whether we increase the hotseat size for tall devices." into sc-dev am: 4a17e66166
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15412628

Change-Id: Ifb92308f3c0a3fef040e3a863e9e11300ad46334
2021-07-30 20:50:28 +00:00
Jonathan Miranda 4a17e66166 Merge "Add more restrictions on whether we increase the hotseat size for tall devices." into sc-dev 2021-07-30 20:37:29 +00:00
Sunny Goyal 831212ec92 Adding support for overriding long-press menu in Launcher
Bug: 188222480
Test: Manual
Change-Id: Ic0b425fafde8beedc15a5aa42a8897b9143a3309
2021-07-30 16:07:26 -04:00
Alex Chau 6951aef060 Fix Launcher3 tests for tablets
- Consider taskbar size for bottom gesture size, by using TargetInsets
- TargetInsets should substract overlapping taskbar size when it's present
- For pressHome, use the same gesture scope when context menu is present as well.
- For pressHome, GestureScope.INSIDE_TO_OUTSIDE should only be used when it's already at home screen on launcher3 tablet.

Bug: 193539246
Test: NexusLauncherTest and Launcher3Test
Change-Id: I4a20522f3b38ef326acae4b189df11a125990411
2021-07-30 20:39:05 +01:00
Alex Chau 3379200d40 Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-dev am: e20208e9d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15429930

Change-Id: I26663e9ff719855fcb55249aa877309494105ba0
2021-07-30 18:02:38 +00:00
Vinit Nayak 51a6c92174 Migrate from using taskIDs to taskViewIDs in RecentsView
* Follow up CL coming to introduce a TaskView that
can have multiple Tasks, so a taskID won't be particularly useful
in that scenario.

Bug: 192292305
Test: Manual, w/ and w/o live tile
Change-Id: I1900b999ac51aa99923239f2af400c90c71c3dae
2021-07-30 11:02:26 -07:00
Alex Chau e20208e9d1 Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-dev 2021-07-30 17:53:34 +00:00
Bill Yi 221768ba7d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: da8bf1142f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15427655

Change-Id: I1361c4d865bbe8daab0f543aece77ea8978df14a
2021-07-30 14:47:57 +00:00
Steven Ng a54535b8f5 Merge "Use the right content to estimate the span in WidgetsFullSheet" into sc-v2-dev 2021-07-30 14:12:00 +00:00
TreeHugger Robot 9e08d559a4 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-30 14:11:50 +00:00
Steven Ng 3edfa98ba7 Use the right content to estimate the span in WidgetsFullSheet
Test: Manual
Fix: 194784402
Change-Id: I150f4c7b5a0344caa2bea3f1502894cb0f32e208
2021-07-30 13:15:26 +01:00
TreeHugger Robot 02d45252f3 Merge "Fix cell size calculation in large screen devices" into sc-v2-dev 2021-07-30 11:39:26 +00:00
Steven Ng 2a5c594855 Fix cell size calculation in large screen devices
Test: Digital clock widget is no longer cropped.
Bug: 184966000, 194784402
Change-Id: I26c406da1e10232019f34620a4d2bc0dbafcbb31
2021-07-30 11:14:11 +01:00
András Klöczl 7f569f14b4 Merge "Fix controller navigation on two panel launcher home" into sc-v2-dev 2021-07-30 08:43:27 +00:00
Alex Chau fb5ae9060d Always treat FallbackRecentsView as visible if isInLiveTileMode is true
- activity.hasBeenResumed is no longer an accurate indicator after live tile has been introduced, indeed it's always false
- Return recentsView regardless if there is a runningTask as well

Bug: 194286330
Test: In fallback Recents with 3 button, tap overview button from home screen, then tap overview button again. Try combination with back and home button
Change-Id: Ib2775a11f5466abc433763f24192e7bfdcf191a2
(cherry picked from commit 455718e842)
2021-07-30 08:22:03 +00:00