Commit Graph

26636 Commits

Author SHA1 Message Date
Samuel Fufa ab5cc03ba4 Decouple feature flag and predictions am: 685e29b236 am: ebfbffd066
Change-Id: I6604ebe1dc1fdc46848bdc2e5b86c82f55adb22f
2020-05-07 18:48:19 +00:00
Samuel Fufa ebfbffd066 Decouple feature flag and predictions am: 685e29b236
Change-Id: I97a7ababd83371b4876c2c3119cea20e8cc5070c
2020-05-07 18:32:18 +00:00
Samuel Fufa 685e29b236 Decouple feature flag and predictions
- Always default to true for ENABLE_HYBRID_HOTSEAT
- Allow launcher to show predictions anytime regardless of notification and on-boarding.
- Remove past beta specific plans
- Migrate if first screen can accommodate hotseat items otherwise show tip

Bug: 142753423
Test: Manual
Change-Id: I142cd95d779964822da07a96e5884a0c82813742
(cherry picked from commit 49d0f64a9d)
2020-05-06 22:42:00 +00:00
Tony Wickham bc36379827 Fix continueComputingRecentsScrollIfNecessary() running infinitely am: aa2af22da8 am: dfc05d5917
Change-Id: Ifce7f768985be864c949fd52924403b20e1c76f9
2020-05-05 23:32:28 +00:00
Tony Wickham 2fbd70b44d Fix continueComputingRecentsScrollIfNecessary() running infinitely am: aa2af22da8 am: 60be99b514
Change-Id: I79c0162c1b77dc2d4ece8a1089522ea7eb924552
2020-05-05 23:32:08 +00:00
Tony Wickham dfc05d5917 Fix continueComputingRecentsScrollIfNecessary() running infinitely am: aa2af22da8
Change-Id: I8e824027554e62c05dafce80d8b523a1d8065383
2020-05-05 23:18:04 +00:00
Tony Wickham 60be99b514 Fix continueComputingRecentsScrollIfNecessary() running infinitely am: aa2af22da8
Change-Id: I5db37541c8e669b77dfe80ffb5e9544ac36723c4
2020-05-05 23:17:49 +00:00
Treehugger Robot 6e173f9676 Merge "Remove MODULE_LICENSE_APACHE2 from Launcher3" am: f6bfbe767f am: 6cf1e6ca36 am: 5e423b83f2
Change-Id: I7e186cc6a4ce1abd69cdb001c1c2a5ba4a19d352
2020-05-05 17:44:01 +00:00
Treehugger Robot 5e423b83f2 Merge "Remove MODULE_LICENSE_APACHE2 from Launcher3" am: f6bfbe767f am: 6cf1e6ca36
Change-Id: Iab286e977eab10355aca2df5675e24d6c76a390c
2020-05-05 17:27:01 +00:00
Tony Wickham aa2af22da8 Fix continueComputingRecentsScrollIfNecessary() running infinitely
When continuing a gesture during quick switch, we cancel the
previous animation but don't invalidate it (since the gesture
isn't fully finished), and the new gesture handler calls
mRecentsView.setOnPageTransitionEndCallback(), so the previous
handler will never get STATE_RECENTS_SCROLLING_FINISHED. Thus,
continueComputingRecentsScrollIfNecessary() will never end.

To fix this, also check !mCanceled, since that is set when
continuing the gesture. Also use postOnAnimation() instead of
post() since that has better guarantees that the next
computation will wait for the next animation frame, rather
than whenever the message queue is available, which might
happen too frequently.

Test: quick switch from A to B and back to A before settling
on B, ensure we stop calling computeScroll().

Bug: 153589287
Change-Id: I6b4389ef2cf5a818438c7ae36d8807b3e41c8501
(cherry picked from commit 49b57e955c)
2020-05-05 17:14:20 +00:00
Treehugger Robot 6cf1e6ca36 Merge "Remove MODULE_LICENSE_APACHE2 from Launcher3" am: f6bfbe767f
Change-Id: Ia11967c6f4cb86b5431cdb446a5b5c483ce09ba2
2020-05-05 17:11:32 +00:00
Treehugger Robot f6bfbe767f Merge "Remove MODULE_LICENSE_APACHE2 from Launcher3" 2020-05-05 16:54:43 +00:00
Bob Badour ef27e0abdc Remove MODULE_LICENSE_APACHE2 from Launcher3
Repositories containing third-party code need a METADATA and a
license_type. Repositories containing only first-party code no longer
need a MODULE_LICENSE_* file.

Bug: 68860345
Bug: 69058154
Bug: 151953481

Test: no code changes

Exempt-From-Owner-Approval: janitorial work

Change-Id: I17f3c230dbe730c03a2d8727e26c32b3e7e37e52
2020-05-04 18:51:14 +00:00
Vinit Nayak aa5b3774c9 Enable edge back gesture on app launch am: 709a52074d am: 8029a70ee8
Change-Id: Ib7c1da3b3fd53d8aaf53c22e010a762c1b693e82
2020-04-30 04:52:51 +00:00
Vinit Nayak 77bd4a872f Enable edge back gesture on app launch am: 709a52074d am: 8116388e82
Change-Id: Ide34044ad2ac0dcde49d825b96694bdd6b635e50
2020-04-30 04:52:34 +00:00
Vinit Nayak 8029a70ee8 Enable edge back gesture on app launch am: 709a52074d
Change-Id: Ie86fc76ca497940c3efc8214ba551de2a929e273
2020-04-30 04:41:21 +00:00
Vinit Nayak 8116388e82 Enable edge back gesture on app launch am: 709a52074d
Change-Id: I7e6d17d5b662d399f90356383c10994dc0863c7f
2020-04-30 04:40:50 +00:00
Vinit Nayak 709a52074d Enable edge back gesture on app launch
We don't clear state on EdgeBackGestureHandler
when we go to Recents or Home.
A more robust solution is in the works with
WM team and will probably be built on top of this.
Needs ag/11273364 to work.

Bug: 154580671
Test: Launch app directly in landscape,
should be able to swipe home on first try.

Change-Id: Ia4c685e16645d0237f278a611f6c61f252f3b79c
(cherry picked from commit 3f3cc3e96e)
2020-04-29 23:34:57 +00:00
Automerger Merge Worker 69c437ca28 Merge "Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6 am: a43f9d93fb" into rvc-d1-dev-plus-aosp 2020-04-29 06:27:37 +00:00
Santiago Etchebehere 0b2e2aec60 Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6 am: afdae84544
Change-Id: I0171418c05d7bcc4d8af61ef3958224593851200
2020-04-29 06:27:24 +00:00
Santiago Etchebehere 413a0bea91 Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6 am: a43f9d93fb
Change-Id: Id58120721b1ec1947a284ee11c2c8a28fa2a872a
2020-04-29 06:27:23 +00:00
Santiago Etchebehere a43f9d93fb Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6
Change-Id: Ifa733f80c0e9d6d22b7bb6179741ec7a56d83f55
2020-04-29 06:12:38 +00:00
Santiago Etchebehere afdae84544 Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6
Change-Id: I355c3c3f087518ea108533a91de5b15622f28bf0
2020-04-29 06:11:40 +00:00
Santiago Etchebehere 82902c0da6 Merging from ub-launcher3-rvc-dev @ build 6436292
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6436292.html

Change-Id: I28d6ec42b7a6a8e779abb306cc29c9801910206f
2020-04-27 22:40:31 -07:00
Sreyas Rangaraju 2f04a9d271 Merge "Assistive chip: Adding background scrim for chip." into ub-launcher3-rvc-dev 2020-04-27 21:43:49 +00:00
Vinit Nayak b219eeab48 Merge "Revert "Hide shelf in 2-Button Landscape"" into ub-launcher3-rvc-dev 2020-04-27 21:24:53 +00:00
Vinit Nayak 48b28027c0 Revert "Hide shelf in 2-Button Landscape"
This reverts commit 9b5795a579.

Reason for revert: b/155090034

Change-Id: If7decd54965a680d50e4474fb279ebe0002441bb
2020-04-27 20:48:49 +00:00
TreeHugger Robot 2ca219889b Merge "Fixing stagger animation not getting initialized properly" into ub-launcher3-rvc-dev 2020-04-27 20:17:16 +00:00
Sunny Goyal 017a8681c7 Fixing stagger animation not getting initialized properly
Bug: 155092237
Change-Id: I65ee6bddc0bf3bda24820d4680d71bab112b670c
2020-04-27 11:11:54 -07:00
Sunny Goyal fd0f8b0d1a Fixing corner radius not properly scaled in TaskViewSimulator
Bug: 155016285
Change-Id: Ib49e79cb30fbd448f86806a98557ec27718e3499
2020-04-27 18:03:09 +00:00
Tony Wickham ef15a26514 Stop computing scroll if handler is invalidated am: 3d05148750 am: c2b56ab656
Change-Id: I85cd80f7f2d95443853bc4c88b9d1410b93cc99a
2020-04-27 17:49:02 +00:00
Tony Wickham 54bf5eb1bc Stop computing scroll if handler is invalidated am: 3d05148750 am: 97653b65c4
Change-Id: Ie25e2e5c15d88a50681b0f2c5a8f060a972af53b
2020-04-27 17:48:41 +00:00
Tony Wickham c2b56ab656 Stop computing scroll if handler is invalidated am: 3d05148750
Change-Id: I097006aa14ed82069bfc3cf26a940049d68b95bf
2020-04-27 17:33:52 +00:00
Tony Wickham 97653b65c4 Stop computing scroll if handler is invalidated am: 3d05148750
Change-Id: Ib89b7f6f1468faa5d880146f0d1ed98b0f859785
2020-04-27 17:33:45 +00:00
TreeHugger Robot fbb6d6a73a Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev 2020-04-25 21:03:52 +00:00
TreeHugger Robot 436a45689c Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev 2020-04-25 15:01:07 +00:00
Bill Yi a74b8bc165 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I111f6bb5b9a330d175c4fe8c314cb7d8527c91de
2020-04-25 03:09:35 -07:00
Bill Yi 0d3d73a402 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I9fc4e7de6693ab7fee98740c1c09e92dfbd82eda
2020-04-25 03:09:04 -07:00
TreeHugger Robot 1016bf410d Merge "Don't scale workspace when going to all apps if ENABLE_OVERVIEW_ACTIONS" into ub-launcher3-rvc-dev 2020-04-25 06:21:30 +00:00
Tony Wickham 00dc219309 Merge "Use OverviewWithoutFocusInputConsumer for sharesheets over home" into ub-launcher3-rvc-dev 2020-04-25 06:00:01 +00:00
Vinit Nayak 482435c01b Merge "Use DeviceProfile to check multiWindowMode" into ub-launcher3-rvc-dev 2020-04-25 02:11:50 +00:00
TreeHugger Robot ea0c4f57be Merge "Hide shelf in 2-Button Landscape" into ub-launcher3-rvc-dev 2020-04-25 01:14:10 +00:00
Vinit Nayak 11c6671d27 Use DeviceProfile to check multiWindowMode
Prevent extra IPC calls when checking for
multiWindowMode by using existing DeviceProfile.
This might be made irrelevant by b/142282126

Fixes: 149571513
Change-Id: Ia41cbfd56c67dd78f4d9c10bf1469d0d2a9e581d
2020-04-24 17:22:30 -07:00
TreeHugger Robot c6800e40e2 Merge "Creating default implementation for state lisnter method" into ub-launcher3-rvc-dev 2020-04-24 23:49:33 +00:00
Vinit Nayak 9b5795a579 Hide shelf in 2-Button Landscape
Disable overview rotation in 2-Button
until we can figure out the correct
transition/animation.
TODO: b/154665738

Fixes: 154181816
Test: Tested no button and 2 button,
overview actions worked as before.

Change-Id: Ib67906b11e24def870a39f57b5156e29db258fd7
2020-04-24 16:43:37 -07:00
TreeHugger Robot 2450f524c6 Merge "Clear swipe region cache on nav mode switch" into ub-launcher3-rvc-dev 2020-04-24 23:31:04 +00:00
Sreyas 6bb2be1526 Assistive chip: Adding background scrim for chip.
Change-Id: Ic6d0f0e0809c0c4acad4bb31c0e005d653cd0ae3
Bug: 153372670
2020-04-24 23:12:31 +00:00
Sunny Goyal aeec80ddbb Creating default implementation for state lisnter method
> The transition start is used rarely

Change-Id: I0d33f0f6372eb4ef89bfbb66968612693b7c6033
2020-04-24 15:41:29 -07:00
Vinit Nayak dcec265f0d Clear swipe region cache on nav mode switch
Fixes: 154955192, 150958400
Test: Switched from gesture nav to 3 button,
was no longer able to swipe up

Change-Id: Icc7b27eb7bd1eb5ddf25d7e7c3464a77a3a88f24
2020-04-24 15:05:17 -07:00
Tony Wickham 3d05148750 Stop computing scroll if handler is invalidated
Bug: 153589287
Change-Id: I0282ec82fe4ae1f74a0f4342471ffd53f43095d7
(cherry picked from commit 9df3f0cebf)
2020-04-24 21:42:22 +00:00