Commit Graph

49925 Commits

Author SHA1 Message Date
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 5ed2aa3993 Correct cell layout spacing in n-panels UI am: 61cfa57ad8 am: 6f7a4b48e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15453925

Change-Id: I313081bb87649a5e387f04d1d140ae98e1a55296
2021-08-03 17:49:37 +00:00
Steven Ng 6f7a4b48e1 Correct cell layout spacing in n-panels UI am: 61cfa57ad8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15453925

Change-Id: Ifc74de175238471e1eb7190799140a2d17cab957
2021-08-03 17:37:07 +00:00
Alex Chau ac9df38e9f Make icon drawable for non-focused grid tasks smaller
- Center the icon drawable in center of IconView with and allow a smlaler size to be set

Bug: 194194694
Test: dismiss focus task, swipe from app etc.
Change-Id: I2855249b13e2ccdb45f101bfb7afef4311f7b46f
2021-08-03 17:36:15 +01: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 5ffc39c7c7 Merge "Follow up CL for controller navigation fix" into sc-v2-dev am: 4b878f5318 am: 845ab22dae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15453920

Change-Id: I6d0d7c048f73b6615e021fd464edee2ecc02b5a1
2021-08-03 13:44:45 +00:00
TreeHugger Robot 845ab22dae Merge "Follow up CL for controller navigation fix" into sc-v2-dev am: 4b878f5318
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15453920

Change-Id: Ib32b307cae09084b90f34bfb313799e9c32ddc8e
2021-08-03 13:34:17 +00: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 b77c857600 Merge "Migrate from using taskIDs to taskViewIDs in RecentsView" into sc-v2-dev am: f5c3dab525 am: bf3221b5a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15407110

Change-Id: I8476f63caadbc53b2b1e12fd792c50f5bf8f8fb7
2021-08-03 04:45:56 +00:00
TreeHugger Robot bf3221b5a8 Merge "Migrate from using taskIDs to taskViewIDs in RecentsView" into sc-v2-dev am: f5c3dab525
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15407110

Change-Id: Ia05b3af05c11145827e9e5b813658bc21e71d65d
2021-08-03 04:32:32 +00: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
kumarashishg 6a5c260404 NIU Tooltip : tooltip timer changes
Tooltip will hide only when the user tapped anywhere on the screen. Earlier tooltip was auto dismissed after 10 seconds.

Bug: 194775081
Test: Local build and run on Pixel 4a
Change-Id: I22f5cdd20e602fc261218d4fa801e80910083c62
(cherry picked from commit 89f7d40c217a81d17519ebf04bcb6b24c2c76b8a)
2021-08-03 02:22:38 +00:00
Android Build Coastguard Worker dec17d714c Snap for 7604864 from 144b16bbb1 to sc-v2-release
Change-Id: I199f1a1c33298caa124bff0e33d61c4b1f6557fe
2021-08-03 01:09:05 +00:00
TreeHugger Robot 7cad87edf6 Merge "API level 30 upgrade: AOSP/Launcher3" 2021-08-02 20:26:17 +00:00
TreeHugger Robot 1e8579f7c2 Merge "Band-aid for getHomeActivities returning null" into sc-v2-dev am: 144b16bbb1 am: 1ce9633815
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15444309

Change-Id: I77468fbfc1194afb0b74363ec5511ba0b695737e
2021-08-02 19:57:16 +00:00
TreeHugger Robot 1ce9633815 Merge "Band-aid for getHomeActivities returning null" into sc-v2-dev am: 144b16bbb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15444309

Change-Id: Iebe3db372b4ce470e7ee53d3695cb3c6c5483faa
2021-08-02 19:37:51 +00:00
TreeHugger Robot 144b16bbb1 Merge "Band-aid for getHomeActivities returning null" into sc-v2-dev 2021-08-02 19:20:01 +00:00
Damian Patel 499ffce2e7 API level 30 upgrade: AOSP/Launcher3
The AndroidManifest.xml and build.gradle file of the AOSP
Launcher app has been upgraded so that its targetSdkVersion
is 30. This change has been made on git_master so that
we can avoid presubmit conflicts when making this change
on the aosp-master branch.

Change-Id: Ie476f8cbe56bf51218b15b8361a22fec2dc845e6
2021-08-02 18:41:38 +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 cbf1ef1415 Add ScreenRecord for testDragCustomShortcut am: 9016e17988 am: e645a66297
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15435092

Change-Id: Ib932d01996c726edf57c9beb4ab771b67157227e
2021-08-02 11:42:12 +00:00
Alex Chau e645a66297 Add ScreenRecord for testDragCustomShortcut am: 9016e17988
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15435092

Change-Id: I56368cc6d2a818feb097082cede1b490f3f88499
2021-08-02 11:30:09 +00: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
Android Build Coastguard Worker d18b20f954 Snap for 7600768 from b999186b9e to sc-v2-release
Change-Id: I2562aad44dadb0a00e9043ae9d72a6ccaa966482
2021-07-31 23:12:49 +00:00
Hongwei Wang abd74b94fa Merge "Check PiP permission before entering auto pip" into sc-v2-dev am: b999186b9e am: 28e8b2c84a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15376471

Change-Id: Ibf5b4bcc9bb2d651a268a874a64df951138776cd
2021-07-31 03:44:39 +00:00
Hongwei Wang 28e8b2c84a Merge "Check PiP permission before entering auto pip" into sc-v2-dev am: b999186b9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15376471

Change-Id: Iceef5384ac7eb7337ce29c1d80584a14c49a9e84
2021-07-31 03:28:56 +00:00
Hongwei Wang b999186b9e Merge "Check PiP permission before entering auto pip" into sc-v2-dev 2021-07-31 03:14:11 +00:00
Android Build Coastguard Worker 9e02d1cd64 Snap for 7599929 from bb6bb5bbbd to sc-v2-release
Change-Id: Ifc170e285d44f69c99c9581dda589d7af0330d76
2021-07-31 03:08:52 +00:00
Android Build Coastguard Worker 12ae3c17b7 Snap for 7599941 from 4a17e66166 to sc-release
Change-Id: Ied8d17346b095b07719bbdb41aeb5429a7a18096
2021-07-31 03:08:29 +00:00
Brian Isganitis be86a2638f Merge "Adding support for overriding long-press menu in Launcher" into sc-v2-dev am: bb6bb5bbbd am: e1ef8e8dc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15433782

Change-Id: If4af848156e9f830cc225381cb7de62623069c05
2021-07-30 23:04:43 +00:00
TreeHugger Robot c25ead5947 Merge "Fix Launcher3 tests for tablets" into sc-v2-dev am: f02c754eb9 am: 4ed4ca3e22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15431427

Change-Id: Ib28420c70f6c30c0154b73788fb8159cb17fd824
2021-07-30 23:04:35 +00:00
Brian Isganitis e1ef8e8dc8 Merge "Adding support for overriding long-press menu in Launcher" into sc-v2-dev am: bb6bb5bbbd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15433782

Change-Id: I1df5db465f747ceb32c91b7952a122fc87fdae6d
2021-07-30 22:50:04 +00:00
TreeHugger Robot 4ed4ca3e22 Merge "Fix Launcher3 tests for tablets" into sc-v2-dev am: f02c754eb9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15431427

Change-Id: I8f67b230ae94c8840a9d99a70624a8451136cad3
2021-07-30 22:49:56 +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 c23c261d99 Merge "Add more restrictions on whether we increase the hotseat size for tall devices." into sc-dev am: 4a17e66166 am: 4edf78695d am: 0d8c98f87f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15412628

Change-Id: I813a1f332cfc348a88bcaba260c90adbdb9ae3cd
2021-07-30 21:14:49 +00:00
Jonathan Miranda 1f194bfaa5 Merge "Add more restrictions on whether we increase the hotseat size for tall devices." into sc-dev am: 4a17e66166 am: 87d39d6715 am: c7edd154e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15412628

Change-Id: I436ef39ffe1a3b46e761cf3f34b04e0bbe44b2d1
2021-07-30 21:14:30 +00:00
Jonathan Miranda 0d8c98f87f Merge "Add more restrictions on whether we increase the hotseat size for tall devices." into sc-dev am: 4a17e66166 am: 4edf78695d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15412628

Change-Id: I1d4c09788ca2e4d705c5d06c1bfe93d84e5967c3
2021-07-30 21:04:59 +00:00
Jonathan Miranda c7edd154e7 Merge "Add more restrictions on whether we increase the hotseat size for tall devices." into sc-dev am: 4a17e66166 am: 87d39d6715
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15412628

Change-Id: Ice22fe3b877b862c3f5983b1b6becfe13c2b0f61
2021-07-30 21:00:19 +00:00
Jonathan Miranda 58ae9a7771 Merge "Add more restrictions on whether we increase the hotseat size for tall devices." into sc-dev am: 4a17e66166 am: f9b3703d09
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15412628

Change-Id: I43c3d38b6514335c468681e1aa3acc1ffe04d9ef
2021-07-30 20:59:33 +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 f9b3703d09 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: Ifd81bcebbe964c581e1fad893c80ce913de367f8
2021-07-30 20:50:09 +00:00
Jonathan Miranda 87d39d6715 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: I1bc24e2fd76a312aa99b02a766af2405cab2f02e
2021-07-30 20:50:06 +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 393b5fe716 Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-dev am: e20208e9d1 am: 49f3a41c78 am: 512047dbe1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15429930

Change-Id: I0866ef93e1004c6b238227a31e59e3c0cf4bb30a
2021-07-30 18:29:40 +00:00
Alex Chau 27b77b6eab Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-dev am: e20208e9d1 am: 3379200d40 am: ba952dba69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15429930

Change-Id: I224358b0d8cbe4d70c50f205b91b0a5163dab5a1
2021-07-30 18:29:34 +00:00
Alex Chau 512047dbe1 Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-dev am: e20208e9d1 am: 49f3a41c78
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15429930

Change-Id: Ic24eee4823630d5e7bfbbd30b4c6772b59a1c1b4
2021-07-30 18:19:19 +00:00
Alex Chau ba952dba69 Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-dev am: e20208e9d1 am: 3379200d40
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15429930

Change-Id: I49e525269fab1ad51fd569afb83e4c48775812c2
2021-07-30 18:18:56 +00:00