Winson Chung
87f2b09072
Merging from ub-launcher3-master @ build 6925377
...
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-master_master_6925377.html
Change-Id: I928b100c8f41abff34047df69d988622123f9939
2020-10-23 10:16:50 -07:00
Winson Chung
f99351888c
Revert "Revert "Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' ...""
...
This reverts commit 087a9e39b6
.
Change-Id: I05b17a6e4aaaef6de3c2fa26aad45a39eb2833f9
2020-10-23 09:27:48 -07:00
vadimt
0ebbc18803
Removing tracing for a gone flake
...
Bug: 156044202
Change-Id: Ice142bb941fee7b731f46c2073fab17d83bbc871
2020-10-06 14:52:27 -07:00
TreeHugger Robot
470403eb58
Merge "Remove widgets that no longer fit the workspace in their current spans." into ub-launcher3-master
2020-10-05 18:29:54 +00:00
Alistair Delva
087a9e39b6
Revert "Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' ..."
...
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert submission 12738409-merge_ub-launcher3-master_6877130
Reason for revert: Introduced crashes to global presubmit
Reverted Changes:
I624658ce6:Merge commit '8d14dbe041199d611839140f1c9285fd4174...
Iccd2f1e3a:Merging from ub-launcher3-master @ build 6877130
I791d64951:Merging from ub-launcher3-master @ build 6877130
Icdd32ab01:Merging from ub-launcher3-master @ build 6877130
Bug: 169963211
Change-Id: I77a4ae59e823147beae8dd7cb9b54ccdace2c7f4
2020-10-05 14:46:26 +00:00
Matt Casey
49a94be109
Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' into merge_ub-launcher3-master_6877130
...
Change-Id: I624658ce682b55042a12faacd4cf0cfd5d3a9a56
2020-10-01 18:55:38 +00:00
Jon Miranda
1d7ed30dba
Remove widgets that no longer fit the workspace in their current spans.
...
This can happen when display size changes.
We compare span sizes of widget in the db to the min sizes of the widget
in the current display size. If the widget can no longer fit in its existing
spans, we remove it.
Also update test widgets to have minWidth/minHeight of 1dp. This ensures that
the spanX, spanY, min* values remain consistent between different test devices.
Bug: 168818961
Change-Id: I723372e4582658f78b2f23ced9073cb77977a6b8
2020-09-30 16:19:21 -07:00
Samuel Fufa
9fa2d8812a
Resolve race condition between @Before conditions
...
Bug: 159671700
Change-Id: I5c96c32c171b7b539ce0ea799cf45955c2bee670
2020-09-30 10:57:04 -07:00
Samuel Fufa
e806f95349
Additional logs to resolve flaky work profile
...
Bug: 159671700
Change-Id: I9bed08ef89b06f79ee1e6a4140a880eeeb76ee75
2020-09-22 12:57:45 -07:00
TreeHugger Robot
087b3fec4f
Merge "Remove tracing for a non-repro flake" into ub-launcher3-master
2020-09-21 18:56:44 +00:00
vadimt
b1ee0a020f
Remove tracing for a non-repro flake
...
Change-Id: I53cc5020435bb3b630754a77d73590b35b595407
2020-09-17 11:53:44 -07:00
Vadim Tryshev
c77a225faf
Merge "Revert "Speed up tests by injecting input events asynchronously"" into ub-launcher3-master
2020-09-17 17:57:33 +00:00
Vadim Tryshev
7729447716
Revert "Speed up tests by injecting input events asynchronously"
...
This reverts commit 4c80053950
.
Reason for revert: Broke tests
Change-Id: I3bd556b3127c0936b18a3fec8202b492d2ecb099
2020-09-17 17:15:08 +00:00
Treehugger Robot
ece21e957e
Merge "optimization of searching apps in Chinese" am: a0357329e0
am: f655c6e433
am: b634086d6c
am: 27ae39420e
am: 44150f8da4
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1425241
Change-Id: I1b270e7153c41789fb6a7eba88f29b0baa27780e
2020-09-17 14:52:29 +00:00
Treehugger Robot
44150f8da4
Merge "optimization of searching apps in Chinese" am: a0357329e0
am: f655c6e433
am: b634086d6c
am: 27ae39420e
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1425241
Change-Id: Ic0b8025774c0c62e039ea9edd6f8f0e545107488
2020-09-17 14:12:18 +00:00
TreeHugger Robot
7144004c56
Merge "Speed up tests by injecting input events asynchronously" into ub-launcher3-master
2020-09-17 01:22:07 +00:00
Jon Miranda
fcc7dd7e57
Merging from ub-launcher3-master @ build 6834159
...
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-master_master_6834159.html
Change-Id: I4350d0ddedd107d7005625480aefda19e5d06ba2
2020-09-14 22:13:30 +00:00
zhaoguomanong
97cc6df21d
optimization of searching apps in Chinese
...
Signed-off-by: zhaoguomanong <zhaoguomanong@gmail.com>
Change-Id: Id322eb8b5249d6163da8a5d3476a6cf9500ad6bb
2020-09-10 22:58:15 -04:00
Sreyas
46aba2a46e
Adding content push button behind flag to OAV.
...
Tested: TaplTestsNexus:testOverviewActions()
Change-Id: I83bc6e5033e2292776c927fba363214f347e01ce
2020-09-10 12:59:55 -07:00
Tony Wickham
fa9675a32e
Merging from ub-launcher3-rvc-qpr-dev @ build 6770831
...
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-qpr-dev_rvc-qpr-dev_6770831.html
Change-Id: Ic07dd8bd495cd0e013a00a29d9d9f11e246dc568
Merged-In: I5e9c73a7ac3033fe82006c4bd72824f56b8988f8
2020-08-18 04:59:10 +00:00
Mehdi Alizadeh
4595166bf5
Merging from ub-launcher3-master @ build 6767682
...
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-master_master_6767682.html
Change-Id: I5e9c73a7ac3033fe82006c4bd72824f56b8988f8
2020-08-16 12:31:21 -07:00
Tony Wickham
d844fe758c
Remove ENABLE_OVERVIEW_ACTIONS flag, defaulting to true
...
We no longer support the "peeking" model where the shelf would
peek on motion pause from an app and overview would peek on motion
pause from home. Thus, removed/inlined the following:
- FlingAndHoldTouchController (merged into its sole subclass
NoButtonNavbarToOverviewTouchController)
- ShelfPeekAnim
- OverviewPeekState
Change-Id: I066a3ad2636fde4786089c922b896bf1e03361fd
2020-08-14 15:58:29 -07:00
Adam Bookatz
2104d72b28
LauncherInstrumentation enables even when non-system user
...
Attempting to run a tapl test while the device is in a secondary user
currently fails because the test app doesn't get enabled for
this secondary user. We fix that (at least one issue with it) in this cl.
Test: make PlatformScenarioTests; adb root && adb install -r -g ${ANDROID_PRODUCT_OUT}/testcases/PlatformScenarioTests/$(get_build_var TARGET_ARCH)/PlatformScenarioTests.apk
adb shell am instrument -w -r -e class android.platform.test.scenario.chrome.OpenApp android.platform.test.scenario/androidx.test.runner.AndroidJUnitRunner
(Do this while the current user is SYSTEM as well as Guest)
Bug: 162454040
Change-Id: If6d8e545b41eb20e3fed2935c39069ce97d8b6cd
2020-08-07 22:51:38 +00:00
Hyunyoung Song
bb71582658
Merge remote-tracking branch 'goog/ub-launcher3-master' into temp
...
Test: make builds
Change-Id: I4e845aa51c9247328159e5aa0d95d425bffa435c
2020-08-06 11:04:41 -07:00
Raman Tenneti
ab98166c36
AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance.
...
See https://source.android.com/setup/contribute/respectful-code for reference
BUG=161896447
Test: make and Presubmit verify.
Change-Id: I44e903046dd4cd9c7c07872fc56a8d552eb09522
2020-08-04 00:35:03 +00:00
TreeHugger Robot
cb89edcbcc
Merge "Changing minimum supported Launcher version to 26" into ub-launcher3-master
2020-08-03 22:24:14 +00:00
vadimt
a6f9cc023c
Increasing wait time for end-action events.
...
This is supposed to fix a flake in one of widgets tests.
The end-scroll event is posted by the system server to another thread
may arrive in ~13 sec.
The delay may have been caused by the previous test that just created
and deleted a user, so the system is busy with processing that.
Bug: 160238801
Change-Id: I43d0804252202ae04c731f35fb219c4be4bd4a76
(cherry picked from commit ba161b7393
)
2020-08-01 07:09:13 +00:00
TreeHugger Robot
707727b6ae
Merge "Creating UI tests for overview action buttons." into ub-launcher3-rvc-qpr-dev am: bf84725855
am: 8c10f6801f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12242419
Change-Id: I3cd8c26f5e774c5d54683c21006060d2d19fdf19
2020-07-31 21:54:17 +00:00
Sreyas
bf103f16b1
Creating UI tests for overview action buttons.
...
Change-Id: Ie6298064a068dc978ca33fb64e1856c3ba2a8cb1
2020-07-31 13:20:08 -07:00
Yuchen He
30caccbbc2
Enable memory dump for Launcher
...
Bug: 154772063
Change-Id: I3b2bc2e341037746891658f2596999248ec272ef
(cherry picked from commit 12baaadeca
)
2020-07-31 17:07:56 +00:00
TreeHugger Robot
c21584f71f
Merge "Expecting TYPE_WINDOW_STATE_CHANGED in quick switch" into ub-launcher3-master
2020-07-30 22:51:44 +00:00
vadimt
e873a171f7
Expecting TYPE_WINDOW_STATE_CHANGED in quick switch
...
Bug: 142654442
Change-Id: I48c8d929952872e444d1a3f7a40721d8edcd8942
2020-07-30 15:08:34 -07:00
Hyunyoung Song
45c0918f47
Merging ub-launcher3-rvc-qpr-dev to rvc-qpr-dev
...
Bug: 162366734
Test: system image builds
Change-Id: I6675431b180976798afacc7a99251ae36764a50a
Merged-In: Ibff46b3ef7ff89accb459db323f31179adb4ef21
2020-07-30 00:26:39 -07:00
Sunny Goyal
eaf7a95546
Changing minimum supported Launcher version to 26
...
Change-Id: I49fcf874430ac53c3246371e179fbd828e14e4da
2020-07-29 17:30:19 -07:00
TreeHugger Robot
89b670056f
Merge "Moving all-apps predictions to Launcher model" into ub-launcher3-master
2020-07-29 22:02:59 +00:00
Sunny Goyal
8b74cc761b
Moving all-apps predictions to Launcher model
...
Predictions are loaded and managed by Launcher model and follow
the model lifecycle. They are then bound to the callback which
handles the UI
Bug: 160748731
Change-Id: I4a3ea0698d80fafe94afb4ce66ffa7f4a6a91c68
2020-07-29 13:07:52 -07:00
Yuchen He
12baaadeca
Enable memory dump for Launcher
...
Bug: 154772063
Change-Id: I3b2bc2e341037746891658f2596999248ec272ef
2020-07-29 17:15:09 +00:00
Hyunyoung Song
0a4a4d920e
Revert "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853"
...
Revert "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853"
Revert "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853"
Revert submission 12190253-merge_ub-launcher3-rvc-qpr-dev_6690853
Reason for revert: Build ID picked from ub-launcher3-master and not ub-launcher3-rvc-qpr-dev
Reverted Changes:
I9e658ece0:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
I2a47fe180:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Ie86b0a2e0:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Id3ca76da6:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Ib6a63da0f:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Bug: 162366734
Change-Id: Ie81853a34c9a48d5b3fd922c65483a9ff639e0ce
Merged-In: Ibff46b3ef7ff89accb459db323f31179adb4ef21
2020-07-28 23:43:43 +00:00
Sreyas Rangaraju
58ca5c8729
Merge "Introducing a new gesture scope" into ub-launcher3-rvc-qpr-dev
2020-07-28 20:03:27 +00:00
Samuel Fufa
884fc46942
Merge "Adding tracing for work profile removal" into ub-launcher3-rvc-qpr-dev am: 0cfcdc2170
am: c222411b30
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12241857
Change-Id: I03558944743b4672b88db0094fab8f9af65d9a55
2020-07-28 18:37:18 +00:00
Samuel Fufa
0cfcdc2170
Merge "Adding tracing for work profile removal" into ub-launcher3-rvc-qpr-dev
2020-07-28 17:52:21 +00:00
Samuel Fufa
cfec6b5151
Adding tracing for work profile removal
...
Bug: 159671700
Change-Id: I6e1bcdfbf1bbaab989106ce2979575652a3fb404
2020-07-28 17:09:08 +00:00
TreeHugger Robot
87ec5d5555
Merge "Misc test improvements" into ub-launcher3-master
2020-07-28 15:32:51 +00:00
TreeHugger Robot
f737f00d89
Merge "Productizing useful diags" into ub-launcher3-master
2020-07-28 02:21:46 +00:00
vadimt
00ad8ee720
Introducing a new gesture scope
...
Gesture may occur outside of Launcher and not trigger system gesture recognition
by TIS.
Change-Id: Ibbb0180d6ef3856ab652164e6f3c1c86488a4caa
(cherry picked from commit a37ecee104
)
2020-07-27 20:56:12 +00:00
vadimt
f8ceabbcc1
Misc test improvements
...
Ignoring state events from NexusLauncher in Launcher3 tests.
Improving diags for failed app launch.
Change-Id: I3ffb49c598edef7b6698b48ba7b63e6163ef25b4
2020-07-24 17:59:50 -07:00
vadimt
4c80053950
Speed up tests by injecting input events asynchronously
...
This way, we can get a humble ~3% acceleration
Change-Id: I53705d457838ea41be9af9ae0851ee8d2e2c1c3f
2020-07-23 19:13:10 -07:00
vadimt
e1c0dda778
Eliminating 10-sec wait for a non-existing widget
...
If we want to ensure that a widget doesn't exist, it's sufficient to
wait 100 ms
Change-Id: I9982e89e1a376678df2271954ce177a90a6a579d
2020-07-23 23:06:19 +00:00
Winson Chung
0ad7b172e6
Handle uiMode changes
...
- Launcher already dedupes if there are no theme changes
Bug: 148988542
Test: adb shell cmd uimode car yes/no, adb shell cmd uimode night yes/no
Change-Id: Ia83f02d18a0433c8be59d1f488e58b38476ba5ff
Merged-In: Ia83f02d18a0433c8be59d1f488e58b38476ba5ff
2020-07-23 21:05:31 +00:00
Hyunyoung Song
65b16d6db2
Merging from ub-launcher3-rvc-qpr-dev @ build 6690853
...
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-qpr-dev-rvc-qpr-dev_6690853.html
Change-Id: Ie86b0a2e0d82646a0c3d44a0214cbb985435320d
Merged-In: Ibff46b3ef7ff89accb459db323f31179adb4ef21
2020-07-23 03:47:06 +00:00