Commit Graph

58436 Commits

Author SHA1 Message Date
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 b6e5aa3f1d Snap for 7601086 from abd74b94fa to tm-release
Change-Id: I1c9e39fd71692dab3a3e1d8ec1c2b850408c8b74
2021-08-01 01:08:08 +00: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
Android Build Coastguard Worker 56bab1da86 Snap for 7599815 from be86a2638f to tm-release
Change-Id: Ifdc79cae1c76d2ed37da87efc75dac7616e50029
2021-07-31 05:08:17 +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
Alex Chau 4514cbe057 Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-dev am: e20208e9d1 am: 82ea0cb8cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15429930

Change-Id: I8676a68ae0aab238cc1b6da8e64d8e9696215be7
2021-07-30 18:18:32 +00: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 82ea0cb8cf 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: I188cf528513b1788e342b69c62f78d952e5f1ea2
2021-07-30 18:01:52 +00:00
Alex Chau 49f3a41c78 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: I63897bebddbc836c4265bff67c2248c9d132fbe0
2021-07-30 18:01:28 +00: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 994ffaf145 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: da8bf1142f -s ours am: 221768ba7d -s ours am: 3dacfc8ad5 -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: I5039a14eac2f64192ae5b01800d4189efa70ddc3
2021-07-30 15:13:48 +00:00
Bill Yi 5d8230f98c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: da8bf1142f -s ours am: 5b625869b7 -s ours am: 91cb0426d8 -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: If6aeceff225248ef0c5d9fe1fea552dda46ac3af
2021-07-30 15:13:35 +00:00
TreeHugger Robot 2c784f9247 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-07-30 15:04:30 +00:00
Bill Yi 3dacfc8ad5 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: da8bf1142f -s ours am: 221768ba7d -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: I14ebb2e51239e2ea3ba53ebc16c3bf19b648c860
2021-07-30 15:03:21 +00:00
Bill Yi 91cb0426d8 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: da8bf1142f -s ours am: 5b625869b7 -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: I95aafab6a70b52581a641f228f283bfe9b03dfc0
2021-07-30 14:59:24 +00:00
Bill Yi fa5aa8bd96 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: da8bf1142f -s ours am: d71712c295 -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: I598e29f6981e0dd5e76b2090320fa3fc890702bd
2021-07-30 14:58:41 +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