Commit Graph

33301 Commits

Author SHA1 Message Date
TreeHugger Robot e7f7578d3d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev am: f7dc18b7bd -s ours am: db642d038c -s ours
am skip reason: subject contains skip directive

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

Change-Id: I602d4005c0fcfc0349731c4015b87baa9b50c8ac
2020-07-20 22:11:27 +00:00
TreeHugger Robot dfd300d154 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev am: 612b16a26b -s ours am: da674e7c95 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I936dbddb00841a9eedcd3197f378e7d21154310c
2020-07-20 22:11:00 +00:00
TreeHugger Robot 46394d184f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-dev am: 78d22259fe -s ours am: 6822ae9fae -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic305386dc05f98949587fc64640def27d3a91dae
2020-07-20 22:10:58 +00:00
TreeHugger Robot 6822ae9fae [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-dev am: 78d22259fe -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id2840e90f68772eef8e126df22595059c7b73d7a
2020-07-20 22:06:03 +00:00
Winson Chung 5b7bf9147b Create a new instance of rotation touch helper per device state
Change-Id: I4e4288eaf37aab5bf0b8115f5e06e64459c20f00
(cherry picked from commit 00850fb588)
2020-07-20 22:05:46 +00:00
Winson Chung 355ceb1a1d Merge "Create a new instance of rotation touch helper per device state" into ub-launcher3-master 2020-07-20 22:05:23 +00:00
TreeHugger Robot 78d22259fe Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-dev 2020-07-20 21:56:52 +00:00
Bill Yi 0b42a8b5d1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 25ed0dce25 -s ours am: 008c2d17c8 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I950b3ec7ea8d93ac2ee7dfb6984c7e4d66f93a41
2020-07-20 21:55:10 +00:00
TreeHugger Robot db642d038c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev am: f7dc18b7bd -s ours
am skip reason: subject contains skip directive

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

Change-Id: I597d40ec9f25519bbf1c105c2645ad42a5c2d697
2020-07-20 21:55:02 +00:00
TreeHugger Robot da674e7c95 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev am: 612b16a26b -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ifa3e8531aaf9975cda8258f34ac218cab6ba36a3
2020-07-20 21:54:50 +00:00
Bill Yi 008c2d17c8 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 25ed0dce25 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If7dfe29ab40a0cb420e8fe66245d72994295f132
2020-07-20 21:54:36 +00:00
Samuel Fufa 63c64097d9 Invalidate stale BgDataModel when predictions are disabled am: e47896cb91 am: adc8870aa1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12193276

Change-Id: I9169f3a794bed745eb395ba938bca1ff847abdfc
2020-07-20 21:46:01 +00:00
TreeHugger Robot f7dc18b7bd Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev 2020-07-20 21:43:56 +00:00
TreeHugger Robot 612b16a26b Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev 2020-07-20 21:41:06 +00:00
Samuel Fufa adc8870aa1 Invalidate stale BgDataModel when predictions are disabled am: e47896cb91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12193276

Change-Id: I840a11ea2986d9e7c0d95ec7c5ad7e738e2dd0a7
2020-07-20 21:26:20 +00:00
Samuel Fufa bd1f4c6a76 Allow multiple hotseat restorations in single session
restoreBackup uses mBackupRestored to prevent multiple restorations happening at once. This change is required to reset the value of mBackupRestored if a new backup is created.

Bug: 160033826
Test: Manual
Change-Id: I33836b26cf3876955cc14dcc8ec06202f3fe7fac
2020-07-20 14:14:47 -07:00
Bill Yi 19496b916b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4c326e8cf15da316393c3be70f6b1c8dfc559a52
2020-07-20 14:03:37 -07:00
Bill Yi 25ed0dce25 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic9168efed903a1cc61b770bc32d754ca1858b3df
2020-07-20 14:02:54 -07:00
Bill Yi d5821326f8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I344fea4e320a851f0d04a3308c9f7f2dca4c934e
2020-07-20 14:00:53 -07:00
Bill Yi a92c6bb531 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2ac85ce81a99d87d613ed1490c591d90323889f2
2020-07-20 14:00:14 -07:00
Winson Chung 00850fb588 Create a new instance of rotation touch helper per device state
Change-Id: I4e4288eaf37aab5bf0b8115f5e06e64459c20f00
2020-07-20 13:57:56 -07:00
TreeHugger Robot 44b72984e6 Merge "Removing diags for a fixed flake" into ub-launcher3-master 2020-07-20 20:27:09 +00:00
Samuel Fufa 453475d568 Fix hotseat file log name formatting
Bug: 161001172
Test: Manual
Change-Id: Ia03eeb897003267ce608430c94b3b01876939234
2020-07-20 12:50:21 -07:00
TreeHugger Robot 0abeb31ca3 Merge "Introducing a new gesture scope" into ub-launcher3-master 2020-07-20 19:50:19 +00:00
Samuel Fufa e47896cb91 Invalidate stale BgDataModel when predictions are disabled
Launcher stores ItemInfos for cached predictions in list BgDataModel.cachedPredictedItems  on Launcher start (LoaderTask#run). The list reused if launcher has to rebind UI. Hence, the list should be cleared if launcher receives empty predictions.

Bug: 161245294
Test: Manual
Change-Id: I275655d5f52f6a6e5297473dd2f642728c1964a6
2020-07-20 12:41:07 -07:00
vadimt 665232be61 Removing diags for a fixed flake
Bug: 160238801
Change-Id: Ia166eb1f154ddeeb70da5a141c9e985a265ba49a
2020-07-20 12:24:50 -07:00
Jon Miranda a73b532e87 Fix bug where double swipe gets us stuck in Hint state while in Overview. am: a8c08584a7 am: 721d5c7cc7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12173854

Change-Id: Iaab1df73b6f7a60ef829ec9372b71b0266641d50
2020-07-20 18:45:50 +00:00
Jon Miranda 721d5c7cc7 Fix bug where double swipe gets us stuck in Hint state while in Overview. am: a8c08584a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12173854

Change-Id: I2d28a41aff760ce884d46ce2d0fc6f9b2da8152b
2020-07-20 18:28:15 +00:00
Jon Miranda a8c08584a7 Fix bug where double swipe gets us stuck in Hint state while in Overview.
With the second swipe, we never complete the swipe to Overview

NoButtonNavbarToOverviewTouchController#maybeSwipeInteractionToOverviewComplete
- mReachedOverview = true
- mDetector.isSettlingState = false

And then the second swipe starts the state transition to Hint but then
it never gets completed because:
1. The animation starts
2. Gets cancelled
3. Starts again
4. Finishes, but is not marked as success since the cancel in #2 was never
   set back to false

Bug: 160759508
Change-Id: I8c3972e6209c3d5a4a0bdd9f9b7683de18105d57
2020-07-20 10:29:29 -07:00
TreeHugger Robot d8181f4dd3 Merge "Removing workarounds for a fixed bug" into ub-launcher3-master 2020-07-18 19:38:56 +00:00
Samuel Fufa 9ae44d6c2b Setup controller for on device search
With introduction of feature flag ENABLE_DEVICE_SEARCH, Launcher can now show a softkey input when user goes to all apps.

Bug: 161545076
Test: Manual
Change-Id: Ie75d059da0a20d0fb98b87bb948a205c080ba529
2020-07-18 13:00:32 +00:00
vadimt a37ecee104 Introducing a new gesture scope
Gesture may occur outside of Launcher and not trigger system gesture recognition
by TIS.

Change-Id: Ibbb0180d6ef3856ab652164e6f3c1c86488a4caa
2020-07-17 18:30:16 -07:00
TreeHugger Robot f9db9d321d Merge "Notify TaskViews of updated orientation state" into ub-launcher3-rvc-qpr-dev am: dbca5a4190 am: 3857d2645f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12142279

Change-Id: I1085f9a8652a38c3daa0fb83b4de2d8d84ba4364
2020-07-18 00:19:58 +00:00
TreeHugger Robot 3857d2645f Merge "Notify TaskViews of updated orientation state" into ub-launcher3-rvc-qpr-dev am: dbca5a4190
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12142279

Change-Id: I9e9bdcad0fac1f6d78049617ca12d13564cf60ba
2020-07-18 00:00:41 +00:00
TreeHugger Robot dbca5a4190 Merge "Notify TaskViews of updated orientation state" into ub-launcher3-rvc-qpr-dev 2020-07-17 23:31:54 +00:00
TreeHugger Robot d1da870435 Merge "Persist prediction cache on every update" into ub-launcher3-rvc-qpr-dev am: 9ad6b3011c am: 737028c63e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12181132

Change-Id: Ic81b32e430e368c572861a60cc66437e0777065e
2020-07-17 23:07:22 +00:00
Tracy Zhou c332b7dbff Merge "Infinite loop when migrating calendar widget" into ub-launcher3-rvc-dev am: 8c46b20958 am: 011fa1bac1 am: 835b25d1dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12151323

Change-Id: I7cdb94a92668c239b442933c48a5b8c797cda088
2020-07-17 23:07:17 +00:00
TreeHugger Robot ad8fcd2980 Merge "Calculate all apps cell height based on actual sizes." into ub-launcher3-rvc-dev am: 2a22f3686d am: 297b64fad5 am: 98a997e71a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12153143

Change-Id: I270c718b4c4ca0e585196616f8ba736bcdb0ed1b
2020-07-17 23:07:10 +00:00
Tracy Zhou 9a660a0b3c Improve grid preview performance am: b023873bc3 am: a1d5ebefbf am: d6d2a4da11
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12153148

Change-Id: Ibfe60a29691acd7f446f22f2b3bab2653abdcc7e
2020-07-17 23:07:06 +00:00
Sunny Goyal 9d1434ff95 Fixing swiping up on home interrupting animation am: 369501d8aa am: 41be7aef51 am: 6247359f62
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12152001

Change-Id: I2f178f8be7271d98a6417e2dd6c07208439c09ff
2020-07-17 23:07:02 +00:00
Sunny Goyal 00ede48436 Merge "Preventing disambiguation screen when swiping up" into ub-launcher3-rvc-dev am: c031040a2f am: 7d9c18392d am: 9df156fe38
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141301

Change-Id: Ic473d5d2a349128d5acb34dab8dd676644c89743
2020-07-17 23:06:59 +00:00
Bill Yi 830a8f7712 [automerger skipped] Import translations. DO NOT MERGE am: bda86377d5 -s ours am: 66b33c2fdf -s ours am: e656de0ebf -s ours
am skip reason: subject contains skip directive

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

Change-Id: I175ea0264f80991c0b8d69fa6e722fee48a4b2f2
2020-07-17 23:06:54 +00:00
TreeHugger Robot b57e163d84 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-dev am: c8a69873dc -s ours am: adc7b6780b -s ours am: b4ed9cd526 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I73edafca6131da080a4fafdcd777c3c3d097196e
2020-07-17 23:06:51 +00:00
Bill Yi 7eb290be10 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6adc72a4ca -s ours am: 11f740d013 -s ours am: fac16ea3f7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If1b07d5a7f4dd1ffb7d1bd41d1aaf22c8eb769b8
2020-07-17 23:06:46 +00:00
TreeHugger Robot 6cb72a6af0 [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev am: d524036b24 -s ours am: 5c4e41e69b -s ours am: f6f685987a -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie8d6641e2b856901d1d3279fbc2ae36b5e8753d8
2020-07-17 23:06:43 +00:00
Bill Yi e0d50f411d [automerger skipped] Import translations. DO NOT MERGE am: 812f466f48 -s ours am: 4d6b234c04 -s ours am: 89141dd074 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I873c6bc244011d4e484716d3efc9702bb8d2b4ca
2020-07-17 23:06:39 +00:00
TreeHugger Robot dc3a18e988 Merge "Persist prediction cache on every update" into ub-launcher3-rvc-dev am: 1cc0010eba am: 21ff5c4ff0 am: 44b7b63852
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12077679

Change-Id: Ife9f1729cf9299043330058b5e6a7f2ad387e85b
2020-07-17 23:06:35 +00:00
Sunny Goyal dcaae97301 [automerger skipped] Fixing recents orientation (when home rotation is allowed) during swipe-up am: 141c231d2f -s ours am: 1e068bc2da -s ours am: 2985c058a4 -s ours
am skip reason: Change-Id I27be09febcdb6f19687469db34b002ce682aa0cb with SHA-1 12f46d521a is in history

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

Change-Id: I57dd70d12281e09691b72e54201e8684c4e73f68
2020-07-17 23:06:28 +00:00
Sunny Goyal 37d67e6399 [automerger skipped] Fixing recents orientation (when home rotation is allowed) during swipe-up am: 12f46d521a am: 642f679243 -s ours
am skip reason: Change-Id I27be09febcdb6f19687469db34b002ce682aa0cb with SHA-1 141c231d2f is in history

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

Change-Id: If100fc3efd7fa836cf1aee9af4f664d4981948c6
2020-07-17 23:06:20 +00:00
TreeHugger Robot f7ca580c99 Merge "Prevent showing TaskMenuView if icon isn't present" into ub-launcher3-rvc-qpr-dev am: 4b1d1a0f18 am: 3a80d76fac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12130181

Change-Id: If090c1028ce2a6656390a93607a6d0822a09f97b
2020-07-17 23:06:12 +00:00