Sunny Goyal
cfcefb0c47
Synchronizing model data access
...
Test: Presubmit
Bug: 173328873
Change-Id: Ifc1724e17ebfa2ee5f21bb3f272986b8a14fdbc1
2020-12-10 16:24:19 -08:00
Samuel Fufa
06ade42dd7
Merge "Resolve Flaky work tab tests"
2020-12-10 23:49:34 +00:00
vadimt
4b77e83a42
Not using blocking call to populate task title for logging
...
For now, passing null title
Bug: 175048504, 173072373
Test: presubmit
Change-Id: Ia2ed5433be9490d71786c98b8244f1c76e4e3088
2020-12-10 23:47:12 +00:00
vadimt
5794fa1aba
Jank: taking screenshot in helper thread for quick switch
...
This operation is prone to lock contention.
Test: Manual
Bug: 173640772, 173072373
Change-Id: I86088255fa0cd8b369d9efec53fdac81210e71db
2020-12-10 12:48:05 -08:00
TreeHugger Robot
cbf8fe08da
Merge "Moving removing task after QS to a background thread."
2020-12-10 20:34:15 +00:00
Samuel Fufa
b8df6a573a
Resolve Flaky work tab tests
...
In cases where test execution and launcher relayout overlap, mLauncher.getAppsView().getContentView() returns a recyclerview instead of pagedView. This is resolved when rebindAdapters is later called with showTabs=true. The issue here is we are keeping a stale value of mLauncher.getAppsView().getContentView() in WorkEduView which is problematic as pagedView is required to set the right tab index for the test.
This behavior also affects work testWorkEduIntermittent as we need to verify the a pagedView is visible before text execution.
Bug: 149867607
Bug: 159671700
Test: flake -t com.android.launcher3.ui.WorkTabTest
Change-Id: I4b0968d6b9daa5c8fe741d4b1ed090f9c7acabed
2020-12-10 11:02:13 -06:00
Hyunyoung Song
e387285f0f
Merge "Fix NPE inside SEarchResultThumbnailView on cropping Bug: 175161949 Test: builds. Created screenshot of landscape portion and verified"
2020-12-10 05:53:19 +00:00
Xin Li
c45d46054f
[automerger skipped] Merge "DO NOT MERGE - Merge Android R QPR1" am: 053a3415fe -s ours am: 49665ae5f9 -s ours am: dc0b212582 -s ours
...
am skip reason: subject contains skip directive
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1521195
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I67d4293ee3e14dcc1dbdd059e777243a7774c7e6
2020-12-10 03:58:46 +00:00
Sunny Goyal
da134ae0c4
[automerger skipped] [DO NOT MERGE] Keeping Launcher in overview UI if activity is restarting am: 980c089d2f am: 05d2ab3f68 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13192821
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia99f7dce294fb45331902082026838214172f552
2020-12-10 03:55:26 +00:00
Xin Li
dc0b212582
[automerger skipped] Merge "DO NOT MERGE - Merge Android R QPR1" am: 053a3415fe -s ours am: 49665ae5f9 -s ours
...
am skip reason: Change-Id I2efd8b65312e25c5c96bf36b3c4a655baffe2eaa with SHA-1 ecb18a6573 is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1521195
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib590035a7b3f124b2a767279623d51bc8c0dbd18
2020-12-10 03:46:46 +00:00
Sunny Goyal
05d2ab3f68
[DO NOT MERGE] Keeping Launcher in overview UI if activity is restarting am: 980c089d2f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13192821
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id2a3c6c21c3c00464fa0384d5f78943cbbbe8e97
2020-12-10 03:35:50 +00:00
Xin Li
49665ae5f9
[automerger skipped] Merge "DO NOT MERGE - Merge Android R QPR1" am: 053a3415fe -s ours
...
am skip reason: Change-Id I2efd8b65312e25c5c96bf36b3c4a655baffe2eaa with SHA-1 ecb18a6573 is in history
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1521195
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7810ffdbc32a066d249324b95c02ad3c2e74f5b9
2020-12-10 03:04:58 +00:00
Xin Li
053a3415fe
Merge "DO NOT MERGE - Merge Android R QPR1"
android-s-preview-1
2020-12-10 02:18:21 +00:00
Hongwei Wang
6bd835ada2
Merge "Add ROTATE_SURFACE_FLINGER permission to Launcher"
2020-12-10 01:56:48 +00:00
Sunny Goyal
980c089d2f
[DO NOT MERGE] Keeping Launcher in overview UI if activity is restarting
...
due to UI mode changes
Test: Verified Launcher behavior locally
Bug: 148988542
Change-Id: Id83e5e0892666af1420e8f8c711b83f1ea355188
(cherry picked from commit 6c0c61acd8 )
2020-12-09 23:40:46 +00:00
Sunny Goyal
189fa681b1
Merge "DO NOT MERGE Revert "Handle uiMode changes""
2020-12-09 22:37:05 +00:00
Hyunyoung Song
4b2403bbdf
Fix NPE inside SEarchResultThumbnailView on cropping
...
Bug: 175161949
Test: builds. Created screenshot of landscape portion and verified
Change-Id: Ib80147bcb40cf73364e8bed91f38019716aa71c8
2020-12-09 14:33:32 -08:00
vadimt
3b55aab715
Adding tracing for app-to-overview
...
It will help finding jank in the quick switch
scenario.
Also removing tracing for cases when it's done
by the jank monitor.
Test: manual
Bug: 174892351
Change-Id: I16fc784ddb52203dba54eab2700b5a04a10088ff
2020-12-09 12:32:23 -08:00
Samuel Fufa
df0ae18170
Merge "Fix flaky enter key"
2020-12-09 20:12:39 +00:00
Sunny Goyal
9b1d362f78
Merge "Keeping Launcher in overview UI if activity is restarting due to UI mode changes"
2020-12-09 19:22:38 +00:00
Samuel Fufa
d0ae95aa04
Merge "Separate QSB from on device search"
2020-12-09 18:55:59 +00:00
Samuel Fufa
2ea01e4871
Separate QSB from on device search
...
Bug: 175125073
[Preview attached to BR]
Change-Id: If967d95e32b58263ede5eb8a3c1b773cef789f28
2020-12-09 12:46:30 -06:00
Tracy Zhou
2268a7cb27
Merge "Render animation for launching settings in live tile mode"
2020-12-09 18:16:35 +00:00
Tracy Zhou
f985f13ec1
Render animation for launching settings in live tile mode
...
Right now the animation is pretty basic. Will need to fine tune it.
Fixes: 172626326
Test: manual
Change-Id: Ibc64f6a988e1c7ad3f32732e1db2f0f29489e3f9
2020-12-09 00:18:00 -08:00
Xin Li
6d9bdefeb2
DO NOT MERGE - Merge Android R QPR1
...
Bug: 172690556
Merged-In: I2efd8b65312e25c5c96bf36b3c4a655baffe2eaa
Change-Id: I349fad5007e99ec4c02ba78a0c43a913ebba0fda
2020-12-08 23:49:36 -08:00
Winson Chung
ff6d94dd92
DO NOT MERGE Revert "Handle uiMode changes"
...
Bug: 171707437
Test: Repro steps on bug
This reverts commit 0ad7b172e6 .
Change-Id: If30cbb6c155e879dc8307a0a4a06dfb548b389a1
(cherry picked from commit 4b4341d3a7 )
2020-12-09 07:33:40 +00:00
Sunny Goyal
6c0c61acd8
Keeping Launcher in overview UI if activity is restarting
...
due to UI mode changes
Test: Verified Launcher behavior locally
Bug: 148988542
Change-Id: Id83e5e0892666af1420e8f8c711b83f1ea355188
2020-12-08 19:22:01 -08:00
Winson Chung
c4bef358b0
DO NOT MERGE Revert "Defer recreation until resumed"
...
Bug: 171707437
Test: Repro steps in bug
This reverts commit 3f8d868110 .
Change-Id: I909ab701c674fe975982a7de06dc9e89dcd03aea
(cherry picked from commit 272f4541f9 )
2020-12-09 02:50:37 +00:00
Samuel Fufa
1dcf18af6e
Fix flaky enter key
...
Avoid launching market search if highlighted item is SearchTargetHandler
Bug: 174170510
Test: Manual
Change-Id: I1e60168db7a38924cf6fe08ebc7b3ee004dfdd98
2020-12-07 14:28:06 -06:00
Pinyao Ting
e676914740
Merge "Disable Database overwrite upon restore"
2020-12-07 19:11:09 +00:00
Schneider Victor-tulias
e5764199de
Merge "Add the ability to control the mock app thumbnail and app icon to TutorialControllers."
2020-12-07 17:43:04 +00:00
Schneider Victor-tulias
7f66dde4de
Add the ability to control the mock app thumbnail and app icon to TutorialControllers.
...
Giving the gesture nav tutorial sandbox environment a more accurate look and feel requires the ability to inject mock drawables. The choice of drawables should go to TutorialControllers.
Bug: 175019879
Change-Id: Ie5b03b3fa07b017c0596a58dedf65d3e866a0727
2020-12-07 16:27:37 +00:00
Pinyao Ting
0d97f8d19a
Disable Database overwrite upon restore
...
Launcher overwrites user's favorites table (icons in WorkSpace) upon new
install session from Play Store with install reason being restore. The
overwrite was introduced in the attempt to mitigate failed restore
session due to asynchronous nature of user profile restore, but it has
been causing general instability in backup and restore. Going forward
Launcher should be moving away from table overwrite approach, this will
be implemented in b/148284747.
Bug: 171774227
Test: manual
Change-Id: I91221544dbaeb42224ce9f595906b6d9f0e4aa89
2020-12-05 07:05:12 -08:00
Hongwei Wang
f4b60d5f9c
Add ROTATE_SURFACE_FLINGER permission to Launcher
...
This permission is requried for arbitrary rotation (other than 90
degreee) on a Surface. Which is useful for Launcher to rotate the app
leash when animating from fullscreen landscape to PiP window onto home
in portrait mode.
Bug: 171802909
Test: m -j
Change-Id: I09e3b2915c17154ef3c91aff888a391dc337a18a
2020-12-04 16:40:13 -08:00
vadimt
1e71ba5b98
Moving removing task after QS to a background thread.
...
Blocking binder call was creating jank.
Test: manual, presubmit
Bug: 173467481, 173072373
Change-Id: Ib19d2a97ed8cf3e9763008b042ef48d89532cb58
2020-12-04 14:18:52 -08:00
Vadim Tryshev
2fe8e76bd1
Merge "Jank: not blocking UI thread when starting a task"
2020-12-03 23:40:23 +00:00
Xin Li
71d4d3299b
[automerger skipped] Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855 am: ecb18a6573 -s ours am: 89962500fb -s ours
...
am skip reason: Change-Id I56abeae5adec79a1c7bdad1a261f0f62c055cf2e with SHA-1 b3ab1189d2 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13122822
Change-Id: I53d2916c3602028ae40c6350424fab176db1e7f7
2020-12-03 04:39:35 +00:00
Xin Li
89962500fb
[automerger skipped] Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855 am: ecb18a6573 -s ours
...
am skip reason: Change-Id I56abeae5adec79a1c7bdad1a261f0f62c055cf2e with SHA-1 b3ab1189d2 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13122822
Change-Id: Id25ecb094b953989fe20b66838d721d57852b608
2020-12-03 04:25:15 +00:00
Jon Spivack
446daa2678
Merge "Add the Share App system shortcut to the Go Launcher"
2020-12-02 23:29:33 +00:00
Schneider Victor-tulias
f0d79cbac1
Merge "Disable app theme crossfade animation."
2020-12-02 16:02:30 +00:00
Tracy Zhou
620c249929
Merge "Log grid size change"
2020-12-01 16:50:43 +00:00
icechang
212cff1dec
Add swipes left method in Background.java
...
Bug: 153276032
Test: TF_GLOBAL_CONFIG=/google/src/cloud/<ldap>/<workspace>/google3/wireless/android/test_tools/forrest/configs/local-host-config.xml \
pts-tradefed run commandAndExit cuj/<testname> \
--primary-abi-only \
--log-level verbose --log-level-display verbose \
--wifi-network GoogleGuest
Test:
Change-Id: Ib1cbc609f47a547f173e8170f00af9e8bdfa77bb
2020-12-01 21:34:26 +08:00
Jason Chang
5feda22006
Merge "Fix abnormal flicking when swiping up to exit OHM"
2020-12-01 07:41:09 +00:00
Jon Spivack
a89a5084f2
Add the Share App system shortcut to the Go Launcher
...
This shortcut allows users to initiate peer-to-peer app sharing from an app's long-press menu on the home screen. It does so by passing an intent to the specified component. In this base implementation, that specification in config.xml is left blank, and the button will not appear. In GMS Launchers such as LauncherGoGoogle, the config should be set to point to Nearby Sharing.
This also establishes Launcher3QuickStepGo as a distinct subclass of QuickstepLauncher instead of merely a build configuration.
Bug: 157515296
Bug: 174286192
Test: Manual (tested on local wembley devices)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I826bd03721d2e7e963b15d5958e9a18a1cc16f1d
2020-11-30 18:53:56 -08:00
Samuel Fufa
870d733617
[automerger skipped] [DO NOT MERGE] Encode launch location for hotseat items am: ec5e095430 am: 3a1286108c -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13112292
Change-Id: I9d37ae71e11e4b72756b51907d63837b31c9b342
2020-11-30 23:47:48 +00:00
Samuel Fufa
3a1286108c
[DO NOT MERGE] Encode launch location for hotseat items am: ec5e095430
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13112292
Change-Id: Ib1204c9794548cc1c1ba45957686b14cc755565c
2020-11-30 23:29:25 +00:00
TreeHugger Robot
20decea517
Merge "Removing binder call from the gesture injection"
2020-11-30 21:49:21 +00:00
Jason Chang
e08dd5861e
Fix abnormal flicking when swiping up to exit OHM
...
Defer the action of onStopGestureDetected() from ACTION_MOVE
to ACTION_UP in OneHandedInputConsumer.
Bug: 171307756
Test: manual
Change-Id: Ie4a3cb0ba4477c131191a7ed1cf4daec2d364285
2020-11-27 18:03:33 +08:00
TreeHugger Robot
c3a3805301
Merge "Rename flag to remove reference to blocked word."
2020-11-25 22:13:11 +00:00
linalex
8492c67639
[DO NOT MERGE ANYWHERE] Add swipes left method in Background.java
...
Bug: 153276032
Test: TF_GLOBAL_CONFIG=/google/src/cloud/<ldap>/<workspace>/google3/wireless/android/test_tools/forrest/configs/local-host-config.xml \
pts-tradefed run commandAndExit cuj/<testname> \
--primary-abi-only \
--log-level verbose --log-level-display verbose \
--wifi-network GoogleGuest
Change-Id: Ib1cbc609f47a547f173e8170f00af9e8bdfa77bb
2020-11-25 12:09:31 +08:00