Commit Graph

28165 Commits

Author SHA1 Message Date
TreeHugger Robot d4066f5876 Merge "Support for counting activity creations" into ub-launcher3-rvc-dev 2020-04-28 23:26:37 +00:00
Pinyao Ting 0807c946b6 Mitigate 10 minutes delay in launcher restore for work apps.
1. Instead of debouncing launcher restore when new install session
(triggered by Play Service due to restore) is created, it is now
throttled at once every 30 seconds. (i.e. Launcher restore is triggered
immediately, but cannot be triggered again within 30 seconds)
2. Removes the backup table when all items are restored. (i.e. no item
were removed as a result of sanitize db due to user didn't sign in to
their work profile)

Bug: 153648870
Change-Id: I32df371f8b47c60a72515876217fd83ac1e56f0a
Test: manually verified with deferred restore
2020-04-28 15:52:19 -07:00
Tracy Zhou ad1d5d0739 Merge "Refactor usage of getting GRID_OPTIONS_PREFERENCE_KEY value into whether GridOptionsProvider is enabled" into ub-launcher3-rvc-dev am: df5d99f419
Change-Id: I1c57254a6f0b36d8a1c6d24fab18e9d3704ca399
2020-04-28 22:43:10 +00:00
Tracy Zhou 9dd8f411e5 Remove grid options pref key
Fixes: 154154093
Test: manual testing of the feature
Change-Id: I48fa2788c163ebfe4b925e05d1526c0c1f3e3926
2020-04-28 15:33:30 -07:00
Tracy Zhou df5d99f419 Merge "Refactor usage of getting GRID_OPTIONS_PREFERENCE_KEY value into whether GridOptionsProvider is enabled" into ub-launcher3-rvc-dev 2020-04-28 22:26:46 +00:00
Jon Miranda c2140bcadd Change horizontal spring stiffness to 250.
Change-Id: I453190b9c402aebdd723b23bcc08fea928da13c5
2020-04-28 14:38:54 -07:00
TreeHugger Robot 59dc8e2042 Merge "Optimization: reducing number of getNavigationModeMismatchError calls" into ub-launcher3-rvc-dev am: 18b2da5f07
Change-Id: I53416f40212ed06e890b3031dfa54184d6938178
2020-04-28 21:25:51 +00:00
TreeHugger Robot 18b2da5f07 Merge "Optimization: reducing number of getNavigationModeMismatchError calls" into ub-launcher3-rvc-dev 2020-04-28 21:11:43 +00:00
Tracy Zhou c6060e6e2a Refactor usage of getting GRID_OPTIONS_PREFERENCE_KEY value into whether GridOptionsProvider is enabled
Bug: 154154093
Test: manual testing of the feature
Change-Id: Ibe78a75b061aad20e8fa0e229589400b65016ff4
2020-04-28 14:02:49 -07:00
Vinit Nayak 3f3cc3e96e 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
2020-04-28 13:51:43 -07:00
Vinit Nayak 72c9da7647 Bias rotation to remain in existing rotation
Change-Id: I3457dc7946838eb7e0e68a879091941ce4674a7a
2020-04-28 12:53:07 -07:00
Hyunyoung Song 898bd99116 Force all apps content to be alpha 0 when plugin is in place
Bug: 155114822

Change-Id: I9b2d10d5c009c3bb4fb2cf4cb4d9ff50153eba39
2020-04-28 09:38:39 -07:00
android-build-team Robot a1eac1e9af Snap for 6437181 from 68fcf6fcf5 to mainline-release
Change-Id: I0adc63fe9849a2c41d1f40398a29460d85fab00e
2020-04-28 07:09:21 +00:00
Vinit Nayak 48ea9e9502 Use appropriate start padding for clear all button
This still shows up a bit strange with
notched phones because we are using
RecentsView padding to give ClearAll the
right amount of spacing. However, we're only
adding padding to the left and right and not
the top/bottom.
That's captured here: b/154436527

Fixes: 150389833
Test: Tested landscape/portrait/seascape
launcher, w/ RTL as well

Change-Id: I49defd58048e609a1f7a821abb97374bcbb94b9f
2020-04-27 22:44:05 -07: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
android-build-team Robot b196c8323b Snap for 6436225 from 3d05148750 to rvc-release
Change-Id: If2aed43c8d5ee13c3958f1c4d47599f83c359dae
2020-04-28 01:01:20 +00:00
Zak Cohen f1a51856c9 OverviewActions - Use launcher state to track modal state. am: a39544d562
Change-Id: Ib9e5358abd1d41e19f6186b84827729b2f345ccc
2020-04-28 00:58:26 +00:00
Zak Cohen a39544d562 OverviewActions - Use launcher state to track modal state.
Test:local

Change-Id: I44e25b95095b9a7aac4b4172c9c91fbfbf4d9ec7
2020-04-27 16:29:44 -07:00
Sreyas Rangaraju 0f12ee1138 Merge "Assistive chip: Adding background scrim for chip." into ub-launcher3-rvc-dev am: 2f04a9d271
Change-Id: I9c640522e057c4b24e4494356000a1d53105402e
2020-04-27 21:47:41 +00: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 5664beb222 Merge "Revert "Hide shelf in 2-Button Landscape"" into ub-launcher3-rvc-dev am: b219eeab48
Change-Id: I09da22dac83efec88ef6f3a1b3e2211f85c94dc8
2020-04-27 21:40:59 +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
Sreyas 63dd9e0b33 Removing old unused code from PageView
Change-Id: I12da53189ddbb2484149d384d5ef20a4aa0535e5
2020-04-27 14:08:56 -07: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 fef1e5320b Merge "Fixing stagger animation not getting initialized properly" into ub-launcher3-rvc-dev am: 2ca219889b
Change-Id: I0fd5e16699f2bc4eddbb26df46ba0c2308648924
2020-04-27 20:37:30 +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
vadimt 2e6fdd7d93 Optimization: reducing number of getNavigationModeMismatchError calls
They are relatively expensive

Change-Id: I34de56884ec3f88e69c709026d3b72e62c787681
2020-04-27 13:08:50 -07:00
vadimt 921f9fd254 Support for counting activity creations
Bug: 139137636
Change-Id: Ib999fd3c82eb2997662578ec35e1d9e1e75e3cbb
2020-04-27 12:41:26 -07:00
Sunny Goyal 9e7bf5e50c Fixing corner radius not properly scaled in TaskViewSimulator am: fd0f8b0d1a
Change-Id: I9fa130d1878f1623be7f3a86a3412be84ce30ed7
2020-04-27 19:29:09 +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
Tony Wickham 68fcf6fcf5 Stop computing scroll if handler is invalidated am: 3d05148750 am: 97653b65c4 am: 6d4b92fd52
Change-Id: I6e06be97bb5f673d17874f95b0ba2b3cb20c5021
2020-04-27 18:07:49 +00: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 6d4b92fd52 Stop computing scroll if handler is invalidated am: 3d05148750 am: 97653b65c4
Change-Id: Id4eecc6375827ce4725ff2ae705ea7908a15d867
2020-04-27 17:50:26 +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 c416f72de8 [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev am: fbb6d6a73a -s ours
am skip reason: subject contains skip directive

Change-Id: Id7d43941c0e8308916166981b140e753fcac1c0c
2020-04-25 21:17:14 +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 2aa3df0cd0 [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev am: 436a45689c -s ours
am skip reason: subject contains skip directive

Change-Id: Ie9e75a1ea6c11bb4ea32b311b3fa3be86455b463
2020-04-25 15:11:09 +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 e9f31eadad Merge "Don't scale workspace when going to all apps if ENABLE_OVERVIEW_ACTIONS" into ub-launcher3-rvc-dev am: 1016bf410d
Change-Id: I952644e103cbaa75f67a7c4ae56e69fb1adc8ce0
2020-04-25 06:26:13 +00: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 83f83303e7 Merge "Use OverviewWithoutFocusInputConsumer for sharesheets over home" into ub-launcher3-rvc-dev am: 00dc219309
Change-Id: I6be06414144a55d66e73637af08b22d38d734f86
2020-04-25 06:15:40 +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 d00d5e182a Merge "Use DeviceProfile to check multiWindowMode" into ub-launcher3-rvc-dev am: 482435c01b
Change-Id: I877e06a3c2a22741ff1892bb5ed347c266de15c2
2020-04-25 02:23:42 +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 6da915902c Merge "Hide shelf in 2-Button Landscape" into ub-launcher3-rvc-dev am: ea0c4f57be
Change-Id: Ia6a4f5b007700d3e87487dffb4b8decda3480319
2020-04-25 01:32:01 +00:00
android-build-team Robot 3300df1356 Snap for 6429305 from 992ef571d3 to rvc-release
Change-Id: I6e3dcc1c1edd0688e88f187e0cfd7f76548aed7c
2020-04-25 01:14:37 +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