Commit Graph

34630 Commits

Author SHA1 Message Date
Hongwei Wang f7d9c0d3a7 Merge "Revert "Default fixed_rotation to off"" into rvc-dev am: 644e1a6f9a am: a6a192ae53 am: 5effc98b20 am: 09c6e6462f am: 9e5a0bb886
Change-Id: Iaa31146b477b78331f316cff298a34a9686348ec
2020-03-26 08:45:41 +00:00
Hongwei Wang a674c878de Merge "Revert "Default fixed_rotation to off"" into rvc-dev am: 644e1a6f9a am: c915022606 am: 214c5644b5 am: 107bab3dd4
Change-Id: I09afcdebf0d0db802fc78c9c121b3f038db74bc4
2020-03-26 08:45:32 +00:00
Hongwei Wang 9e5a0bb886 Merge "Revert "Default fixed_rotation to off"" into rvc-dev am: 644e1a6f9a am: a6a192ae53 am: 5effc98b20 am: 09c6e6462f
Change-Id: I637e7b90bf2a8832554d62d24b458225fb285053
2020-03-26 08:43:01 +00:00
Hongwei Wang d0ef322b02 Merge "Revert "Default fixed_rotation to off"" into rvc-dev am: 644e1a6f9a am: a6a192ae53 am: 43a78fbe6e am: aeb0aad26b
Change-Id: I5444815197af9866d06da1e42f0a175bbd372088
2020-03-26 08:42:55 +00:00
Hongwei Wang 107bab3dd4 Merge "Revert "Default fixed_rotation to off"" into rvc-dev am: 644e1a6f9a am: c915022606 am: 214c5644b5
Change-Id: Id269333f4b7f1b5f079615f51931c92cc9c5a888
2020-03-26 08:31:42 +00:00
Hongwei Wang aeb0aad26b Merge "Revert "Default fixed_rotation to off"" into rvc-dev am: 644e1a6f9a am: a6a192ae53 am: 43a78fbe6e
Change-Id: Id086001a513901f29974656c706ed8f55658ba11
2020-03-26 08:31:28 +00:00
Hongwei Wang 09c6e6462f Merge "Revert "Default fixed_rotation to off"" into rvc-dev am: 644e1a6f9a am: a6a192ae53 am: 5effc98b20
Change-Id: I236c25bfd6e01cf3386050550fd79e2eb3cc8e36
2020-03-26 08:31:27 +00:00
Hongwei Wang 214c5644b5 Merge "Revert "Default fixed_rotation to off"" into rvc-dev am: 644e1a6f9a am: c915022606
Change-Id: Ia18aef2887e79709e929778374f36cb93966da4d
2020-03-26 08:15:43 +00:00
Hongwei Wang 5effc98b20 Merge "Revert "Default fixed_rotation to off"" into rvc-dev am: 644e1a6f9a am: a6a192ae53
Change-Id: I9ae7c17155d2dd4b0417a53f0a8ae571dc734490
2020-03-26 08:15:34 +00:00
Hongwei Wang 43a78fbe6e Merge "Revert "Default fixed_rotation to off"" into rvc-dev am: 644e1a6f9a am: a6a192ae53
Change-Id: I4954be82558e01379e06adda8e9d2e1f956a15f2
2020-03-26 08:15:20 +00:00
Hongwei Wang c915022606 Merge "Revert "Default fixed_rotation to off"" into rvc-dev am: 644e1a6f9a
Change-Id: I41b626a96ef7cbf7802e144fd6b2ae645ff004a8
2020-03-26 08:01:19 +00:00
Hongwei Wang a6a192ae53 Merge "Revert "Default fixed_rotation to off"" into rvc-dev am: 644e1a6f9a
Change-Id: Ia4c13c8efc6771584e8781a4afe1d6182bc50caa
2020-03-26 08:01:07 +00:00
Hongwei Wang 644e1a6f9a Merge "Revert "Default fixed_rotation to off"" into rvc-dev 2020-03-26 07:48:02 +00:00
Tony Wickham c94a5bfbce Remove max displacement threshold in 2-zone model
We had a max displacement for detecting pause before because people
were falsing into overview when they dragged all apps all the way
up. In this mode, there's no way to get to all apps from the nav
bar so the threshold doesn't make sense.

Bug: 151039912
Change-Id: I349f38ec1589f8b151cfbe32542159b3eb92bf61
2020-03-26 00:34:43 -07:00
android-build-team Robot f24f809aa2 Snap for 6334680 from 453241d789 to mainline-release
Change-Id: Idf1742958f87cf4562a3e04a47c8ca561596fec6
2020-03-26 07:13:26 +00:00
Tracy Zhou c0000450b5 Support grid preview with v2 migration algorithm
The focus of ag/10346770 is around the actual algorithm, while in the meantime our preview logic has changed during the code review of ag/10100264.

GridSizeMigrationTaskV2 addresses both cases, the difference being preview passes in constructed IDP while actual migration uses IDP from the current Context.

When doing actual migration, we call METHOD_UPDATE_CURRENT_OPEN_HELPER to update the current db helper and copy the favorites table from the previous db into the current db in favorites_tmp table. Then we do migration from there.

When calculating preview, I added METHOD_PREP_FOR_PREVIEW in this change to copy the favorites table from the intended grid setting to the current grid setting in favorites_preview table. Then we calculate migration from the current favorites table to favorites_preview table and save into favorites_preview table.

Bug: 144052802
Fixes: 144052839

Test: Manual

Change-Id: I64a8b61a4e0bf8399c0ae1af4ef9d2bde0f1ee2f
2020-03-25 21:58:19 -07:00
Samuel Fufa 59affa428e Beta specific hotseat opt in behavior
https://docs.google.com/document/d/1CKK-3vTl-SPGxx3Cwty7r69jk_vaDs9MlanbhpH85cY/edit

Bug: 142753423
Test: Manual
Change-Id: I51e949fa9962bc8e9d0cdb66d07fbe9e344fb35d
(cherry picked from commit 6b13c841c9)
2020-03-26 02:38:12 +00:00
android-build-team Robot 01ecb85178 Snap for 6333744 from ace493908c to rvc-release
Change-Id: I74e1a785d409770aac290de51a847d815fc792bb
2020-03-26 02:08:18 +00:00
Jon Miranda 67b3488e5c Ensure current animation is cancelled before building new folder animation. am: 7899902b12 am: 24dcb5b3e1 am: 92d27159b3 am: f643843e27 am: 453241d789 am: 9a91dac6fe
Change-Id: I7a3bbaf9d8f5abc036ed90ef13f35bbb4fd6b391
2020-03-26 01:50:57 +00:00
Jon Miranda bb58d76146 Ensure current animation is cancelled before building new folder animation. am: 7899902b12 am: 24dcb5b3e1 am: d7c8a8dd89 am: d5e51142a9 am: b593377e55
Change-Id: I3f132cb89e02cb573c527a543c3994e9515e639a
2020-03-26 01:50:48 +00:00
Jon Miranda 9a91dac6fe Ensure current animation is cancelled before building new folder animation. am: 7899902b12 am: 24dcb5b3e1 am: 92d27159b3 am: f643843e27 am: 453241d789
Change-Id: I2aa52b982c8f648d5e75095940d480191d1917dc
2020-03-26 01:50:11 +00:00
Jon Miranda 71787eb3ee Ensure current animation is cancelled before building new folder animation. am: 7899902b12 am: 24dcb5b3e1 am: 92d27159b3 am: 07a091cca1 am: 917f70e3a8
Change-Id: I29756479d37f6b0fa4886f8909572e59926599a5
2020-03-26 01:49:44 +00:00
Jon Miranda b593377e55 Ensure current animation is cancelled before building new folder animation. am: 7899902b12 am: 24dcb5b3e1 am: d7c8a8dd89 am: d5e51142a9
Change-Id: I222b6985aaeceb8fb74eb52c728bfce9fb2ff554
2020-03-26 01:38:25 +00:00
Jon Miranda 453241d789 Ensure current animation is cancelled before building new folder animation. am: 7899902b12 am: 24dcb5b3e1 am: 92d27159b3 am: f643843e27
Change-Id: I64b8268e91dbf64c513dc4175191f8447166a064
2020-03-26 01:35:57 +00:00
Jon Miranda 917f70e3a8 Ensure current animation is cancelled before building new folder animation. am: 7899902b12 am: 24dcb5b3e1 am: 92d27159b3 am: 07a091cca1
Change-Id: I9d9615e15a72c5efa41aca65bc262df81a604609
2020-03-26 01:35:57 +00:00
Jon Miranda f643843e27 Ensure current animation is cancelled before building new folder animation. am: 7899902b12 am: 24dcb5b3e1 am: 92d27159b3
Change-Id: I2d43eec203611cb6df9e0b039c485be7a0c04407
2020-03-26 01:11:36 +00:00
Jon Miranda d5e51142a9 Ensure current animation is cancelled before building new folder animation. am: 7899902b12 am: 24dcb5b3e1 am: d7c8a8dd89
Change-Id: Iecc221a907757ff607b0133cd0bf21223023d416
2020-03-26 01:11:35 +00:00
Jon Miranda 07a091cca1 Ensure current animation is cancelled before building new folder animation. am: 7899902b12 am: 24dcb5b3e1 am: 92d27159b3
Change-Id: I5d8d6be7f32cd373086e6953130795f27b960411
2020-03-26 01:11:28 +00:00
Jon Miranda d7c8a8dd89 Ensure current animation is cancelled before building new folder animation. am: 7899902b12 am: 24dcb5b3e1
Change-Id: Ieca2d72cf50cb96ef5f810a1caf2b7c7079c7d15
2020-03-26 00:54:14 +00:00
Jon Miranda 92d27159b3 Ensure current animation is cancelled before building new folder animation. am: 7899902b12 am: 24dcb5b3e1
Change-Id: I30fb4bcc6fd878a92d8f9901daedd2e27254b572
2020-03-26 00:54:08 +00:00
Jon Miranda 2a19d24707 Ensure current animation is cancelled before building new folder animation. am: 7899902b12
Change-Id: I614bce501ec21844814d262b17f17c53188fffc7
2020-03-26 00:37:51 +00:00
Jon Miranda 24dcb5b3e1 Ensure current animation is cancelled before building new folder animation. am: 7899902b12
Change-Id: Iee896520f50f84bdb46bb28436e2bbad816c1055
2020-03-26 00:37:45 +00:00
Samuel Fufa 0068e1861c Personalize hotseat education
If a user has has 0 apps in the hotseat, jump directly to showing predications.
Otherwise show migration dialog as usual and if user rejects it, show different tips based on the number of available spots.

Bug: 142753423
Test: Manual
Change-Id: Ic5202caf074db2409f6468dd9373875571f3f3c1
(cherry picked from commit aa2aff5a8f)
2020-03-26 00:32:51 +00:00
Samuel Fufa 32bf6cd650 Remove Edu notification if predictions are empty
Bug: 142753423
Test: Manual
Change-Id: I1111fa15b9b677bb077478309a185e70e6784bce
(cherry picked from commit ca1c32537c)
2020-03-26 00:32:13 +00:00
Samuel Fufa cac6ef1ee9 Resume UI update on user active
resume UI update for hybrid hotseat if user returns to launcher while app launch transition is animating.

Bug: 142753423
Test: Manual
Change-Id: I11ffa080bb78e7b4269747b1602b32d706f2405d
(cherry picked from commit 28f3136c6a)
2020-03-26 00:31:15 +00:00
Samuel Fufa 210774dfaa enable prediction logging
reverting accidental commit on ag/10673926

Bug: 142753423
Change-Id: I8d2f5f591b200484282f0b170fccab4f99b93fae
(cherry picked from commit 0570a795f9)
2020-03-25 23:51:34 +00:00
Samuel Fufa 3984530f8c Merge "Beta specific hotseat opt in behavior" into ub-launcher3-master 2020-03-25 23:27:13 +00:00
Samuel Fufa 6b13c841c9 Beta specific hotseat opt in behavior
https://docs.google.com/document/d/1CKK-3vTl-SPGxx3Cwty7r69jk_vaDs9MlanbhpH85cY/edit

Bug: 142753423
Test: Manual
Change-Id: I51e949fa9962bc8e9d0cdb66d07fbe9e344fb35d
2020-03-25 15:51:01 -07:00
TreeHugger Robot 6a72017a84 Merge "Remove Edu notification if predictions are empty" into ub-launcher3-master 2020-03-25 22:43:28 +00:00
Hongwei Wang 08c4d99237 Revert "Default fixed_rotation to off"
This reverts commit c0b289c93e.

Reason for revert: fixed in ag/10826395

Bug: 151727009
Change-Id: I0c71d5d47a6825c2445bf8dc9d8a9a1ca23f9e64
2020-03-25 22:21:13 +00:00
TreeHugger Robot 239e05eccb Merge "Highlight personal tab on work profile reinstallation" into ub-launcher3-master 2020-03-25 22:14:23 +00:00
Sunny Goyal 3e94faa5de Merge "Removing animation when stripping empty pages, as the animation is run by LayoutAnimation already" into ub-launcher3-master 2020-03-25 22:06:40 +00:00
TreeHugger Robot 9dd3481516 Merge "Merging from ub-launcher3-master @ build 6327709" into rvc-dev am: ace493908c am: 8729067823 am: 98f2612a59 am: a116ccd671 am: 888ee1b42a
Change-Id: Ideb34caa7af4931b9fb2d35d9a797e035596acc2
2020-03-25 21:58:16 +00:00
TreeHugger Robot 5f316a9bc3 Merge "Merging from ub-launcher3-master @ build 6327709" into rvc-dev am: ace493908c am: 6b840d55fc am: 2e880d606a am: 8efabe774d
Change-Id: I3d50499998ecc213101e4288189b038d0c3242c4
2020-03-25 21:57:50 +00:00
TreeHugger Robot 8e0f387b4f Merge "Merging from ub-launcher3-master @ build 6327709" into rvc-dev am: ace493908c am: 8729067823 am: 303ff51c2b am: 0edac69f36
Change-Id: Ic32a783e3ddc9fe45b9b769008aed29cf9856f8a
2020-03-25 21:56:20 +00:00
TreeHugger Robot 888ee1b42a Merge "Merging from ub-launcher3-master @ build 6327709" into rvc-dev am: ace493908c am: 8729067823 am: 98f2612a59 am: a116ccd671
Change-Id: Ib35fc01e2d7627cabd7e99d2c7c3b8689afd2215
2020-03-25 21:56:03 +00:00
TreeHugger Robot 8efabe774d Merge "Merging from ub-launcher3-master @ build 6327709" into rvc-dev am: ace493908c am: 6b840d55fc am: 2e880d606a
Change-Id: Ic3963a7fc2226d671bc700370fff6be6bde7e3e0
2020-03-25 21:37:46 +00:00
TreeHugger Robot 0edac69f36 Merge "Merging from ub-launcher3-master @ build 6327709" into rvc-dev am: ace493908c am: 8729067823 am: 303ff51c2b
Change-Id: Iabbc1d40f73ab7478a47a52d46a006e10ae3313c
2020-03-25 21:37:12 +00:00
TreeHugger Robot a116ccd671 Merge "Merging from ub-launcher3-master @ build 6327709" into rvc-dev am: ace493908c am: 8729067823 am: 98f2612a59
Change-Id: If7e04d10b94104339c30c6ef3de0d6ffc455fceb
2020-03-25 21:36:56 +00:00
Samuel Fufa e0914e21ea Merge "Resume UI update on user active" into ub-launcher3-master 2020-03-25 21:36:21 +00:00