Commit Graph

33301 Commits

Author SHA1 Message Date
Vadim Tryshev b0496c5ba0 Merge "Enabling tests for pausing apps" into ub-launcher3-qt-dev
am: 8ffa234955

Change-Id: I148a5e32c5310ca59b8bf73b1d63f600946e709f
2019-05-29 12:39:13 -07:00
TreeHugger Robot ee20f0eeb7 Merge "More logging for lab-only flake when an app doesn't start" into ub-launcher3-qt-dev 2019-05-29 19:35:57 +00:00
TreeHugger Robot 1d43df01a4 Merge "Fix bug where changing the display size does not update the launcher grid." into ub-launcher3-qt-dev 2019-05-29 19:33:58 +00:00
Vadim Tryshev 8ffa234955 Merge "Enabling tests for pausing apps" into ub-launcher3-qt-dev 2019-05-29 19:23:57 +00:00
vadimt 8296c6132d Enabling tests for pausing apps
Bug: 123892607
Change-Id: I1fa90f6dd4312b9311b8e706b2119dc04e3e2389
2019-05-29 12:07:55 -07:00
Sunny Goyal 48f1e57ca0 Merge "Fixing ANR when loader task could run while helding the lock object" into ub-launcher3-qt-dev am: 88faafd4e7
am: 593564284a

Change-Id: I0ae3a521787e52f8cf0dd99a64bdc69461c58df1
2019-05-29 11:57:59 -07:00
Sunny Goyal 593564284a Merge "Fixing ANR when loader task could run while helding the lock object" into ub-launcher3-qt-dev
am: 88faafd4e7

Change-Id: I1d346260c4b0be99ecd15fbba1644a1c9619236d
2019-05-29 11:52:58 -07:00
Jon Miranda 7aa9000642 Hide original icon immediately for app close.
Bug: 123900446
Change-Id: I46e54da39e3bf4fe79e0583b52c568c702a9f16a
2019-05-29 11:41:46 -07:00
TreeHugger Robot 88faafd4e7 Merge "Fixing ANR when loader task could run while helding the lock object" into ub-launcher3-qt-dev 2019-05-29 18:35:55 +00:00
Sunny Goyal 51f220dac2 Fixing ANR when loader task could run while helding the lock object
During AppWidgetRestoredReceiver, we call forceReload from worker thread
which in turn starts the loader while holding mLock. This causes other
loader calls on UI thread to cause ANR

Bug: 133651528
Change-Id: Iabf983c4319bd6e6ef88e74fe6076289294454f9
2019-05-29 11:07:10 -07:00
Sunny Goyal 8be337b8a7 Fix crash when launching some apps which require icons to be loaded on
the model thread

Bug: 133639322
Test: Manual

Change-Id: I945a94c458d872b41e44b4b3a2d023f85d8a7c88
(cherry picked from commit 9fd2d0ee0a)
2019-05-29 17:29:32 +00:00
android-build-team Robot 3d06c327d0 Snap for 5611873 from d405653c86 to qt-c2f2-release
Change-Id: I342f5241150e3bde3160e787f6209eb6e90a7862
2019-05-29 03:16:38 +00:00
android-build-team Robot 7f47e150a4 Snap for 5612634 from d405653c86 to qt-qpr1-release
Change-Id: Ia91404f2ebc9d885847f5390ce70f6374ca2a3b1
2019-05-29 03:09:17 +00:00
android-build-team Robot 9180628d3c Snap for 5612356 from cf7e6c4a32 to qt-release
Change-Id: Ie7a05807a8c6b21c9fcfb6dc1d633b235f47bdae
2019-05-29 03:06:17 +00:00
Vadim Tryshev 5fbee37d8e Merge "Ignoring testPressHomeOnAllAppsContextMenu for now as it flakes" into ub-launcher3-qt-dev am: e01f5f4bd7
am: c01c40e692

Change-Id: I7f324ddafda33f7c95854fc9f348f5f1b61e5213
2019-05-28 19:50:23 -07:00
Vadim Tryshev c01c40e692 Merge "Ignoring testPressHomeOnAllAppsContextMenu for now as it flakes" into ub-launcher3-qt-dev
am: e01f5f4bd7

Change-Id: I215081a4a9501231e849564f75b15b9e323b663b
2019-05-28 19:45:21 -07:00
Bill Yi 479b6495cf [automerger skipped] Import translations. DO NOT MERGE am: 9789beae0e -s ours
am: bffbb6b060 -s ours
am skip reason: subject contains skip directive

Change-Id: Id00fea5ed1ec1b91c95dd641785499aca3daf205
2019-05-28 19:45:20 -07:00
Bill Yi bffbb6b060 [automerger skipped] Import translations. DO NOT MERGE
am: 9789beae0e -s ours
am skip reason: subject contains skip directive

Change-Id: I6b392e470d952228315b12701d2256460126506e
2019-05-28 19:41:19 -07:00
Vadim Tryshev e01f5f4bd7 Merge "Ignoring testPressHomeOnAllAppsContextMenu for now as it flakes" into ub-launcher3-qt-dev 2019-05-29 02:35:57 +00:00
vadimt b77b018ec7 Increasing activated-task wait time to 60000 ms am: f9bf37d569
am: 42c8e85e5e

Change-Id: I5e0919ff7d668f354158d7b86abcbcea8e8066cc
2019-05-28 19:20:16 -07:00
vadimt 42c8e85e5e Increasing activated-task wait time to 60000 ms
am: f9bf37d569

Change-Id: I791065119575c2db0f54f24276ec82c3e7522c97
2019-05-28 19:15:15 -07:00
vadimt 3369d7308f Ignoring testPressHomeOnAllAppsContextMenu for now as it flakes
Bug: 132460627
Change-Id: I2af5bba289781a122cf9253833915b0e8cddd79c
2019-05-28 19:15:04 -07:00
Bill Yi 9789beae0e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I029f3fe3ecc187db70a0e86ed98f498f04be1d0a
2019-05-28 19:13:27 -07:00
vadimt f9bf37d569 Increasing activated-task wait time to 60000 ms
Bug: 112282235
Change-Id: I14f63ce77395b9f95743a6fb36c0b02a80a8983f
2019-05-28 18:35:36 -07:00
Vadim Tryshev 98d3c7edea Merge "Fixing pressHome when a context menu is visible" into ub-launcher3-qt-dev am: 666b60a074
am: 9bb2efe14f

Change-Id: I8d6beda40e19218148c7c59e187e51fbd540123e
2019-05-28 17:52:57 -07:00
Vadim Tryshev 9bb2efe14f Merge "Fixing pressHome when a context menu is visible" into ub-launcher3-qt-dev
am: 666b60a074

Change-Id: I2191c4ed1b405e13a55cf35c7398e021b80c9063
2019-05-28 17:47:56 -07:00
Vadim Tryshev 666b60a074 Merge "Fixing pressHome when a context menu is visible" into ub-launcher3-qt-dev 2019-05-29 00:41:10 +00:00
vadimt aa8019308b Fixing pressHome when a context menu is visible
Bug: 132460627
Change-Id: I78064166fccd3a29bcb3fa6175bd4937ae032a98
2019-05-28 17:31:03 -07:00
Winson Chung 42ce0306f5 Merge "Support individual lock task features" into ub-launcher3-qt-dev am: 293d964024
am: def865a645

Change-Id: I0bcee1d1f62c580f5c77e609154be1f24fd1c4bb
2019-05-28 17:26:50 -07:00
Winson Chung def865a645 Merge "Support individual lock task features" into ub-launcher3-qt-dev
am: 293d964024

Change-Id: I2a53a5633d4d65ecc1ed2f9d78a7f18d749a82a6
2019-05-28 17:21:49 -07:00
Winson Chung 293d964024 Merge "Support individual lock task features" into ub-launcher3-qt-dev 2019-05-29 00:10:02 +00:00
Tony Wickham ceff588a00 Merge "Continue scaling down recents past final position in 0 button mode" into ub-launcher3-qt-dev am: 5860288fc8
am: 4cc7f1ac89

Change-Id: I392e16b1915cedbbdafbe3bc6cff511574172411
2019-05-28 16:29:05 -07:00
Tony Wickham 4cc7f1ac89 Merge "Continue scaling down recents past final position in 0 button mode" into ub-launcher3-qt-dev
am: 5860288fc8

Change-Id: I3ef16cd60ae0ba272dcfb761417dd8be10e331a5
2019-05-28 16:24:04 -07:00
Tony Wickham 5860288fc8 Merge "Continue scaling down recents past final position in 0 button mode" into ub-launcher3-qt-dev 2019-05-28 23:21:32 +00:00
Sunny Goyal 0a87e613bb Merge "Improving swipe up interaction when device is locked" into ub-launcher3-qt-dev am: e34c91765f
am: fa2e88be96

Change-Id: Ic4d52690e67bf0237826a66059c671adf612c700
2019-05-28 16:19:04 -07:00
Sunny Goyal fa2e88be96 Merge "Improving swipe up interaction when device is locked" into ub-launcher3-qt-dev
am: e34c91765f

Change-Id: If49078e2b15375eb08c23aa002709f67c692e1e6
2019-05-28 16:13:01 -07:00
TreeHugger Robot e34c91765f Merge "Improving swipe up interaction when device is locked" into ub-launcher3-qt-dev 2019-05-28 23:05:31 +00:00
android-build-team Robot 2ca01b1f80 Merge cherrypicks of [7773044, 7773106, 7772815, 7772993, 7772994, 7772995] into qt-qpr1-release
Change-Id: I86eefc3883badc1145a33911280bb80b732bfab0
2019-05-28 23:05:26 +00:00
Jon Miranda c0f1f4f3af Fix bug where changing the display size does not update the launcher grid.
The bug is caused by launcher saving the grid name and using that grid name
to look for matching display options. This makes sense when changing the grid
size, but doesn't work well when changing the display size.

Example: Initial Pixel display size is set to Default, so we save "normal" as
the KEY_IDP_GRID_NAME. When we change display size to Largest, the
KEY_IDP_GRID_NAME is still "normal" and so we only look at display options
under "normal". Before this, Pixel with display size set to Largest would be
set to "reasonable".

This should be safe change for Q, and we can have a proper fix when we
officially support changing grid size.

Bug: 131867841
Change-Id: If5f3b0a13b90069973e929024b26bd9b9c45a7d8
2019-05-28 16:05:09 -07:00
android-build-team Robot 3ed1e357b4 Merge cherrypicks of [7773043, 7773102, 7772814, 7772986, 7772988, 7772990] into qt-release
Change-Id: I4d2c12d0471f6f8db5f3df28ffead91777d6a871
2019-05-28 23:05:08 +00:00
android-build-team Robot 9531eb5203 Merge cherrypicks of [7773042, 7773101, 7772813, 7772985, 7772987, 7772989] into qt-c2f2-release
Change-Id: Iaf1c2438d66b8a68b4f2860d6b07ab4f4243f8db
2019-05-28 23:05:03 +00:00
Winson Chung d45a973781 Merge branch 'ub-launcher3-qt-dev' into merge_5609112
Test: Manual
Bug:112282235 P3 Starting an app from Launcher very rarely takes > 10 sec
Bug:121279417 P2 Why LauncherInstrumentation.WAIT_TIME_MS == 60000?
Bug:123900446 P1 App to home animation should zoom into the app icon
Bug:131360075 P1 [Gesture Nav] Polish/finish landscape
Bug:131854153 P1 Lots of Cuttlefish (and not only) tests are broken
Bug:132687470 P1 Swiping home from forced landscape app creates cutoff task thumbnail
Bug:132756514 P1 Sometimes (when quick switching?) user gets stuck in full-screen recents view
Bug:132917885 P1 Reduce swipe-up gesture region height in landscape
Bug:132975416 P1 Flake in NexusPredictionAppTracker.getAppPredictionContextExtras
Bug:132993129 P1 If predictions disabled, app predictions loading bar appears briefly on device restart

Change-Id: Ibfa1ed3ab6241fdb9412df2a80c11e83032008d9
(cherry picked from commit c3b21dd0480be4c64df6ac854ccb6d4923a992b2)
2019-05-28 23:04:59 +00:00
Winson Chung a05076d848 Merge branch 'ub-launcher3-qt-dev' into merge_5609112
Test: Manual
Bug:112282235 P3 Starting an app from Launcher very rarely takes > 10 sec
Bug:121279417 P2 Why LauncherInstrumentation.WAIT_TIME_MS == 60000?
Bug:123900446 P1 App to home animation should zoom into the app icon
Bug:131360075 P1 [Gesture Nav] Polish/finish landscape
Bug:131854153 P1 Lots of Cuttlefish (and not only) tests are broken
Bug:132687470 P1 Swiping home from forced landscape app creates cutoff task thumbnail
Bug:132756514 P1 Sometimes (when quick switching?) user gets stuck in full-screen recents view
Bug:132917885 P1 Reduce swipe-up gesture region height in landscape
Bug:132975416 P1 Flake in NexusPredictionAppTracker.getAppPredictionContextExtras
Bug:132993129 P1 If predictions disabled, app predictions loading bar appears briefly on device restart

Change-Id: Ibfa1ed3ab6241fdb9412df2a80c11e83032008d9
(cherry picked from commit c3b21dd0480be4c64df6ac854ccb6d4923a992b2)
2019-05-28 23:04:36 +00:00
Winson Chung ec7ae4ce4c Merge branch 'ub-launcher3-qt-dev' into merge_5609112
Test: Manual
Bug:112282235 P3 Starting an app from Launcher very rarely takes > 10 sec
Bug:121279417 P2 Why LauncherInstrumentation.WAIT_TIME_MS == 60000?
Bug:123900446 P1 App to home animation should zoom into the app icon
Bug:131360075 P1 [Gesture Nav] Polish/finish landscape
Bug:131854153 P1 Lots of Cuttlefish (and not only) tests are broken
Bug:132687470 P1 Swiping home from forced landscape app creates cutoff task thumbnail
Bug:132756514 P1 Sometimes (when quick switching?) user gets stuck in full-screen recents view
Bug:132917885 P1 Reduce swipe-up gesture region height in landscape
Bug:132975416 P1 Flake in NexusPredictionAppTracker.getAppPredictionContextExtras
Bug:132993129 P1 If predictions disabled, app predictions loading bar appears briefly on device restart

Change-Id: Ibfa1ed3ab6241fdb9412df2a80c11e83032008d9
(cherry picked from commit c3b21dd0480be4c64df6ac854ccb6d4923a992b2)
2019-05-28 23:04:34 +00:00
Sunny Goyal 221895d06b Improving swipe up interaction when device is locked
When device is locked, only scale down the top task as a response to
the user interaction. When user flings or lifts his finger, the task
is dismissed to go to the lock screen

LockScreenRecentsActivity is an empty activity which starts on top of lock
screen and finishes immediately. This allows us to start a recents transition
with just the top activity as the animation target. This target is then used
for swipe up interaction

Bug: 133167096
Change-Id: I466ed142ea33d626c78cb9cc5f6311bad26b8d98
2019-05-28 15:55:07 -07:00
Zak Cohen 348866b350 Merge "Chips container - Don't hard code the height of the chips container." into ub-launcher3-qt-dev am: b36ab46e93
am: b4b597a4ff

Change-Id: I7afe34cd8a4867dcb340e65fe6608b030f681b39
2019-05-28 15:24:06 -07:00
Jon Miranda ead6e4e92f Fix bug where DiscoveryBounce is not cancelled after state change. am: ed7d714805
am: 4ac3af1243

Change-Id: I91a12e2caf168ae669fc7bc18ab728002a9c4ca3
2019-05-28 15:23:43 -07:00
Zak Cohen b4b597a4ff Merge "Chips container - Don't hard code the height of the chips container." into ub-launcher3-qt-dev
am: b36ab46e93

Change-Id: I6bd6e9410b05b6624bda00f42f6f71b9f16eabed
2019-05-28 15:21:00 -07:00
Jon Miranda 4ac3af1243 Fix bug where DiscoveryBounce is not cancelled after state change.
am: ed7d714805

Change-Id: I4274f94c79b3e31b58077e17722caf0cc9c14dc4
2019-05-28 15:20:39 -07:00
TreeHugger Robot b36ab46e93 Merge "Chips container - Don't hard code the height of the chips container." into ub-launcher3-qt-dev 2019-05-28 22:09:43 +00:00