Commit Graph

47043 Commits

Author SHA1 Message Date
Tracy Zhou dcbefe5630 Merge "Set finishedToApp = false when rotating in Overview" into tm-dev am: b34b442032
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17643132

Change-Id: I94ce356f8caf6d31c84b1c1c113829bac348edeb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 16:28:30 +00:00
Stefan Andonian 63035a3624 Merge changes from topic "presubmit-am-d0781e1f1b78407a92b2f064380bea1a" into tm-mainline-prod
* changes:
  [automerge] Simplify AbstractFloatingView.closeOpenViews usage. 2p: d123fbd15d
  Simplify AbstractFloatingView.closeOpenViews usage.
2022-04-08 16:06:26 +00:00
Tracy Zhou b34b442032 Merge "Set finishedToApp = false when rotating in Overview" into tm-dev 2022-04-08 16:05:21 +00:00
Tracy Zhou 6206463d94 Merge changes from topic "presubmit-am-2eb27cabdda4410b8ead207e2f7f1d78" into tm-mainline-prod
* changes:
  [automerge] Set finishedToApp = false when rotating in Overview 2p: 655627f70b
  Set finishedToApp = false when rotating in Overview
2022-04-08 16:05:21 +00:00
Sunny Goyal 23b026f6a0 Merge "Fixing spring animation for fallback launcher activity" into tm-dev am: 1eb1140129
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17626829

Change-Id: If2bb023108b1ff6f54096556041c7113cf475135
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 07:55:47 +00:00
Sunny Goyal 1eb1140129 Merge "Fixing spring animation for fallback launcher activity" into tm-dev 2022-04-08 07:19:51 +00:00
Sunny Goyal d211779aab Merge changes from topic "presubmit-am-7e6a3da5189c4781908ebfa1452aaef4" into tm-mainline-prod
* changes:
  [automerge] Fixing spring animation for fallback launcher activity 2p: c327e6bad4
  Fixing spring animation for fallback launcher activity
2022-04-08 07:19:51 +00:00
Jon Miranda e1dc6b19b0 Merge "Revert "Revert "Sync hotseat/taskbar handoff""" into tm-dev am: 812feca9ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17606862

Change-Id: I1476fe73d85258f729a5d19ab5c2042af2bdb158
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 01:43:34 +00:00
Jon Miranda 812feca9ef Merge "Revert "Revert "Sync hotseat/taskbar handoff""" into tm-dev 2022-04-08 01:39:42 +00:00
Jon Miranda caf5577940 Merge changes from topic "presubmit-am-1219c4ff284044b7ac999b75c13ead7c" into tm-mainline-prod
* changes:
  [automerge] Revert "Revert "Sync hotseat/taskbar handoff"" 2p: 27f9559203
  Revert "Revert "Sync hotseat/taskbar handoff""
2022-04-08 01:39:42 +00:00
Wei Sheng Shih 56261d8ad4 Merge "Update orientation state while gesture animation start." into tm-dev am: 342446d105
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17463944

Change-Id: I423bcad74e2e42b005ee21fb65369b7c5c637802
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 01:35:27 +00:00
Wei Sheng Shih 342446d105 Merge "Update orientation state while gesture animation start." into tm-dev 2022-04-08 00:39:04 +00:00
Benno Lin ed40b335e2 Merge "Enable pressback tests" into tm-dev am: edb576fba8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17501930

Change-Id: I6058ebc21dfe6c1ae22b0c3fe5fe90a04ae312a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 23:58:10 +00:00
Benno Lin edb576fba8 Merge "Enable pressback tests" into tm-dev 2022-04-07 23:39:20 +00:00
Sebastián Franco 92c582eec1 Merge "Make the text for the drop target buttons fit if it's too long." into tm-dev am: 608b5cd5d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17454967

Change-Id: I27156181972bc9b0271b7a6fb0bbc639438134d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 23:11:22 +00:00
TreeHugger Robot 12ab54d9b4 Merge "Removing line submited by mistake." into tm-dev am: b26c5b9741
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624450

Change-Id: Ic8e7d8d88e7895a50830aaa17a6d9fd223f30d0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 23:11:14 +00:00
Sebastián Franco b4e904da7c Merge "Make the widget option on the PopupContainer full width" into tm-dev am: c2d37e042d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17592804

Change-Id: I74a88e3d996c386de2bd39efeb29e8556972c421
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 23:11:03 +00:00
Presubmit Automerger Backend 11c80a00eb [automerge] Simplify AbstractFloatingView.closeOpenViews usage. 2p: d123fbd15d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17643134

Bug: 227142635
Change-Id: Id992a5babbfa8ecfd7d8d3d4afb18fdbc6edee84
2022-04-07 22:20:19 +00:00
Stefan Andonian d123fbd15d Simplify AbstractFloatingView.closeOpenViews usage.
This is a follow-up code review to ag/1754638 to address a comment that was missed before the CR was pushed.

Bug: 227142635
Test: Folders still close when launcher is paused.
Change-Id: Ib6724dc3a6ba49e259ba7de655f6810d6a692d16
2022-04-07 22:19:26 +00:00
Sebastián Franco 608b5cd5d8 Merge "Make the text for the drop target buttons fit if it's too long." into tm-dev 2022-04-07 22:14:07 +00:00
Sebastián Franco f0174a08ed Merge changes from topic "presubmit-am-8c3e4ee583d84fa79ee76ef359ea36f2" into tm-mainline-prod
* changes:
  [automerge] Make the text for the drop target buttons fit if it's too long. 2p: d2d8e97a65
  Make the text for the drop target buttons fit if it's too long.
2022-04-07 22:14:07 +00:00
TreeHugger Robot b26c5b9741 Merge "Removing line submited by mistake." into tm-dev 2022-04-07 21:57:05 +00:00
TreeHugger Robot baf4c707ac Merge changes from topic "presubmit-am-ef022b9359c54a67bdf5fa122cdf9375" into tm-mainline-prod
* changes:
  [automerge] Removing line submited by mistake. 2p: dac0769af1
  Removing line submited by mistake.
2022-04-07 21:57:05 +00:00
Sebastián Franco c2d37e042d Merge "Make the widget option on the PopupContainer full width" into tm-dev 2022-04-07 21:49:35 +00:00
Sebastián Franco 38ae9cfb0f Merge changes from topic "presubmit-am-1bfe19c9d385472a8e3256e5e61c3ade" into tm-mainline-prod
* changes:
  [automerge] Make the widget option on the PopupContainer full width 2p: dfa88d55f5
  Make the widget option on the PopupContainer full width
2022-04-07 21:49:35 +00:00
Schneider Victor-tulias 77a9aeee44 Merge "Add logging to debug incorrect taskbar states caught by flaky tests." into tm-dev am: 2ff0a66b8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624832

Change-Id: I108bb3a1b84bb670dda6ac36ef57ad87668058f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 21:16:53 +00:00
TreeHugger Robot 266df7db7d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: 117a0f2afb -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ica5835064348462b4636cf6b951ae0f4d9868b40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 21:15:13 +00:00
Schneider Victor-tulias 2ff0a66b8e Merge "Add logging to debug incorrect taskbar states caught by flaky tests." into tm-dev 2022-04-07 21:05:39 +00:00
Schneider Victor-tulias 408e8b0677 Merge changes from topic "presubmit-am-279fa1f70f1d497281418aa4023f3fdc" into tm-mainline-prod
* changes:
  [automerge] Add logging to debug incorrect taskbar states caught by flaky tests. 2p: 1823bdba6e
  Add logging to debug incorrect taskbar states caught by flaky tests.
2022-04-07 21:05:39 +00:00
TreeHugger Robot 117a0f2afb Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-07 20:55:25 +00:00
TreeHugger Robot 1863d2c7fd Merge changes from topic "presubmit-am-3a2520518a7e4cb781bb75281852d183" into tm-mainline-prod
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 794a254346
  Import translations. DO NOT MERGE ANYWHERE
2022-04-07 20:55:25 +00:00
Presubmit Automerger Backend 37d9c87f7d [automerge] Set finishedToApp = false when rotating in Overview 2p: 655627f70b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17643132

Change-Id: Ia37a9a05a06f0610cbf8a4bbf731744a10c44d62
2022-04-07 20:34:13 +00:00
Tracy Zhou 655627f70b Set finishedToApp = false when rotating in Overview
The issue is that we always assume finishedToApp = true when recents animation is cancelled and use that to set FLAG_IN_APP. However, we don't return to app in overview after the device is rotated. Ideally we want to get signal from onRecentsAnimationCancelled, but at this point in the release it's probably ok to use launcher state to determine it.

Fixes: 227565959
Test: manual
Change-Id: I6be800aff8108b382ca3947cd1d0a45c9e9571eb
2022-04-07 20:34:00 +00:00
Stefan Andonian 0a7156045c Merge "Close open folders when pausing launcher." into tm-dev am: 52eaebead4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17546438

Change-Id: I3ba2bfff90fd04407325a80bea9bf4e92214d7b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 19:39:07 +00:00
TreeHugger Robot 872d2b104c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: 44f9f67696 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2276bd940ebfae394e39e824042e7687c239b3bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 19:38:28 +00:00
Bill Yi 3ec4641eca [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 777dddbdb9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If7fc877a610a4a1dd41ce05ea81008c0f6d95b93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 19:38:27 +00:00
Stefan Andonian 52eaebead4 Merge "Close open folders when pausing launcher." into tm-dev 2022-04-07 18:53:45 +00:00
Stefan Andonian c09f3bc17c Merge changes from topic "presubmit-am-53b0d3f55ee24fb6807e6ffd6c335979" into tm-mainline-prod
* changes:
  [automerge] Close open folders when pausing launcher. 2p: 253c23b2e8
  Close open folders when pausing launcher.
2022-04-07 18:53:45 +00:00
TreeHugger Robot 44f9f67696 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-07 18:51:23 +00:00
Presubmit Automerger Backend 6c4b435575 [automerge] Fixing spring animation for fallback launcher activity 2p: c327e6bad4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17626829

Bug: 228260232
Change-Id: I26b21ef9c55be8bde372d56ba7e8aea715def2f3
2022-04-07 18:49:47 +00:00
Sunny Goyal c327e6bad4 Fixing spring animation for fallback launcher activity
Bug: 228260232
Test: Verified on device
Change-Id: I7b630fd6936b49214cffd01981e75aeb6b3b5d24
2022-04-07 18:49:41 +00:00
Presubmit Automerger Backend 001367675e [automerge] Make the widget option on the PopupContainer full width 2p: dfa88d55f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17592804

Change-Id: Ied30c45866a1d62661046ce839ca85291a96d021
2022-04-07 17:00:45 +00:00
Sebastian Franco dfa88d55f5 Make the widget option on the PopupContainer full width
The width of the PopupContainer grows if there are multiple
SystemShortcuts and we where not updating the width of all the
options.

Fix: 227538975
Test: Long press an app like Google Maps on the HomeScreen to see
the menu. All the options should have the same width.

Change-Id: I25310d74aa1af17be37b53c27d2334f86bef325a
2022-04-07 10:00:30 -07:00
Presubmit Automerger Backend 080bd76ccd [automerge] Make the text for the drop target buttons fit if it's too long. 2p: d2d8e97a65
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17454967

Change-Id: I2780d24f4e7e4032a17dcadde5f5b08d945f8cc5
2022-04-07 16:39:43 +00:00
Sebastian Franco d2d8e97a65 Make the text for the drop target buttons fit if it's too long.
The text "Don't suggest app" is too long when the device language
is GE or JA, or if you make the text bigger in settings.

Before truncating the text completely we are going to try to make
the text smaller until it gets to a predefined value
(button_drop_target_min_text_size).

Test: Change the language to German (Deutch) and install a new app and drag it to the workspace to see the button "App nicht vorschlagen"
Test: Also, a nice way to test is to go to SecondaryDropTarget#setupUi and hardcode the option to always show "Don't suggest app"
Fix: 221480721
Change-Id: I99def4e23cd17109a297aecaa620cef7a0d137e7
2022-04-07 16:39:29 +00:00
TreeHugger Robot b9efc8c8a6 Merge "Making tablet grid scalable and tuning size" into tm-dev am: b9879a0b85
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607211

Change-Id: Ie2a2d8d32d35246ef418ba93a1fbce841260354d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 16:03:33 +00:00
TreeHugger Robot b9879a0b85 Merge "Making tablet grid scalable and tuning size" into tm-dev 2022-04-07 15:43:40 +00:00
TreeHugger Robot 28ec173160 Merge changes from topic "aosp_tablet_tune" into tm-mainline-prod
* changes:
  [automerge] Making tablet grid scalable and tuning size 2p: c0481524da
  Making tablet grid scalable and tuning size
2022-04-07 15:43:40 +00:00
Jason Chang 68c42f2742 Merge "Fix One-handed mode tutorial broken on large screen device" into tm-dev am: 4d3995b399
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17419735

Change-Id: Ie86e71d15251f98e43684fe6abd06f998d29f710
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 14:00:03 +00:00
TreeHugger Robot 56052b2e9f Merge "Clone mInsets when copying DeviceProfile to taskbar" into tm-dev am: 833c210550
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607217

Change-Id: Id5477be997b6caba4eb64c6bc9d1d6a747752bfc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 13:59:56 +00:00