Commit Graph
49925 Commits
Author SHA1 Message Date
vadimt ed86cb19bc Adding debug tracing for Device.wait
I suspect it may wait for a period of time less than
the specified one, causing flakes.

Test: presubmit
Bug: 177318681
Change-Id: I0be8790c6ee9a5831767fe83c36054ed5a84f8d7
2021-01-15 13:58:03 -08:00
Sunny Goyal b18501402c Merge "Fixing preview rendering in device search mode" 2021-01-15 19:20:26 +00:00
Tony Wickham 10a2b9c8af Separate TaskView translationX into dismiss + offset translations
- Previously, these both setTranslationX() directly, meaning one
  could clobber the other. Now they are set independently and
  aggregated to setTranslationX().
- For fake landscape, we actually are setting translationY, so
  had to create both translationX and translationY properties, and
  set the appropriate one via the current orientation handler's
  "primary" dimension.

Fixes: 176766821
Change-Id: I00ed0bd73dbea00f4018de62260ed35f4d6966a5
2021-01-15 10:42:41 -08:00
vadimt f48097f270 Correctly generating heap dumps for OOP tests
Not trying to dump the test process :)

Still using Debug.dumpHprofData for inproc because
using shell command for inproc can deadlock.

Test: manual
Bug: 177065099
Change-Id: I4b581954a01ecc8a1427409baa030aaa3b70d6b5
2021-01-14 19:43:28 -08:00
TreeHugger Robot 3e1037d5c7 Merge "Added new app launch crop / positioning." 2021-01-15 03:22:33 +00:00
android-build-team Robot 5167d8b6a5 Merge cherrypicks of [13353707, 13351996, 13353708] into sc-release
Change-Id: I74c719f6288d22cef677f91959ce61c9c403149d
2021-01-15 02:39:33 +00:00
Sunny Goyal 70e2d12ef2 Fixing preview rendering in device search mode
When the flag is disabled, search box may not show in preview

Bug: 177500166
Test: Presubmit
Change-Id: I064ba6ca22e71030056a4ceafea27e6ef0517d01
(cherry picked from commit e733e79946)
2021-01-15 02:39:30 +00:00
android-build-team Robot 13fd59d769 Snap for 7083477 from 877bedf676 to sc-release
Change-Id: I79445c58a107373ae3b6640e9bbcdd1bc8adaeb1
2021-01-15 02:06:57 +00:00
Becky Qiu 877bedf676 Merge "[Overview Sharing] Create the share function for sharing image in overview." 2021-01-14 22:43:11 +00:00
Sunny Goyal e733e79946 Fixing preview rendering in device search mode
When the flag is disabled, search box may not show in preview

Bug: 177500166
Test: Presubmit
Change-Id: I064ba6ca22e71030056a4ceafea27e6ef0517d01
2021-01-14 14:17:13 -08:00
Jon Miranda 7e40d6b25a Added new app launch crop / positioning.
New app launch crops the app window from the center, which is meant
to align with the centered icon in the new preview window, and then
it "reveals" the rest of the app window from center to out.

Code is behind same prop as the shell starting surface.

To enable:
- adb shell set prop persist.debug.shell_starting_surface true
- reboot

Bug: 177264697
Change-Id: I78f2eab216d4bb40dedae245f47a89fe677dd6e9
2021-01-14 17:08:04 -05:00
vadimt 5b97b40eb1 Skipping QS metrics if activity is not created
Test: presubmit
Bug: 177472265
Change-Id: Ic92adbe589736d16ab8687ea761c32919d8c186b
2021-01-14 13:43:04 -08:00
Becky Qiu b198d46f9c [Overview Sharing] Create the share function for sharing image in overview.
Bug: 169772466, 169799864
Test: local
Change-Id: Iaac49fa396e68f7392b59f6f9b8854cc1abe270b
2021-01-14 18:01:49 +00:00
Alex Chau 4318289207 Merge "Flag FLAG_MULTIPLE_ORIENTATION_SUPPORTED_BY_DENSITY false when allow_rotation is set" 2021-01-14 17:25:49 +00:00
Samuel Fufa b0b11c5fcf Merge "Include searchui library to Launcher3CommonLib" 2021-01-14 16:46:15 +00:00
Alex Chau e138389214 Flag FLAG_MULTIPLE_ORIENTATION_SUPPORTED_BY_DENSITY false when allow_rotation is set
Bug: 177312556
Change-Id: I22e28b60be68b9cf7bb064d801854d0093920c9e
2021-01-14 12:53:29 +00:00
TreeHugger Robot 23f0dc318c Merge "Generating Hdumps for more leaks" 2021-01-14 07:01:55 +00:00
Winson Chung ec8e9e22d9 Merge "Temporarily disable jank tracing" 2021-01-14 03:39:55 +00:00
android-build-team Robot e324c9ce52 Snap for 7080991 from 278f231b2c to sc-release
Change-Id: Ib8245afa0cd002961726a6d6f80ae15875981813
2021-01-14 02:07:05 +00:00
Sunny Goyal 53e3b14029 Preventing crash when a gesture starts after home activity change but
before the update has been received by Launcher

Bug: 175645691
Test: Verified using a test launcher
Change-Id: I3f726894bdc941878bb8f8eba7c4701e1218c0dd
2021-01-13 16:21:02 -08:00
Schneider Victor-tulias 7cb41c3584 Merge "Add UI updates for incremental app installs." 2021-01-13 23:51:53 +00:00
Schneider Victor-tulias 36ea68360b Merge "Revert "Revert "Add UI updates for incremental app installs.""" 2021-01-13 23:51:37 +00:00
Hyunyoung Song 42203bec0a Include searchui library to Launcher3CommonLib
Change-Id: Ib66e028d3cf36a113aaca7511c53944e663ecd2d
2021-01-13 15:48:25 -08:00
Samuel Fufa d78e90d163 Merge "Migrate from Plugin SearchTarget to API search Target [2/3]" 2021-01-13 23:46:16 +00:00
Winson Chung 9d44e81062 Temporarily disable jank tracing
Bug: 174755489
Test: Temporarily fix NPE
Change-Id: Ifeae83a307f396c25d0d072abe19e8cf8493c427
2021-01-13 15:37:59 -08:00
Sunny Goyal d7f7f52dda Waiting until the launcher change is propagater before test
Bug: 143488140
Test: Presubmit
Change-Id: Ie3f35a1e58b784d078a305814bd682beaae1f4cb
2021-01-13 13:56:56 -08:00
Winson Chung 278f231b2c Merge "Migrate FrameTracker to use ST Jank information (2/2)" 2021-01-13 19:36:00 +00:00
vadimt c37058976d Generating Hdumps for more leaks
Test: presubmits
Bug: 177065099
Change-Id: I386229cf92a925d2953952ed0fab6c44dcdc61f0
2021-01-13 11:34:16 -08:00
Samuel Fufa af83e714ac Merge "Remove Second consumer from AllAppsSearchBarController" 2021-01-13 18:57:07 +00:00
Samuel Fufa a60d1f9be7 Migrate from Plugin SearchTarget to API search Target [2/3]
- Adds support for android.app.search.SearchTarget in plugin while maintaining plugin SearchTarget support
- Introduces SEARCH_TARGET_LEGACY temporary to switch between plugin and sdk variants.
- Maps resultType and layoutType pairs to the appropriate view

Bug: 177223401
Test: Manual
Change-Id: If8d4bb7c21c47a12447dcb0c56eed8781bd21e54
2021-01-13 12:35:51 -06:00
Jorim Jaggi 6478fa649a Migrate FrameTracker to use ST Jank information (2/2)
Test: FrameTrackerTest
Test: Systrace, perform CUJ
Bug: 174755489
Change-Id: I6abecbd9b244f443c9df389938d82427f9584037
2021-01-13 09:17:18 -08:00
Samuel Fufa a5f289a605 Increase timeout and additional logs for WorkTabTest#testWorkEduFlow
Bug: 159671700
Test: WorkTabTest#testWorkEduFlow
Change-Id: I5c015fbb9555be0e3e74c721873da4edd0393c8a
2021-01-13 10:26:00 -06:00
TreeHugger Robot 992ab43390 Merge "Migrate from Plugin SearchTarget to API search Target [1/3]" 2021-01-13 04:50:58 +00:00
android-build-team Robot 0255ee519c Snap for 7078355 from a96062238b to sc-release
Change-Id: I0659099ab8eb86c9701416452f25eaeac3cbbcfa
2021-01-13 02:07:41 +00:00
Samuel Fufa fd58d23cdf Migrate from Plugin SearchTarget to API search Target [1/3]
Setup architecture for separation between aosp and quickstep search as setup for switch to android.app.SearchTarget

Bug: 177223401
Test: manual
Change-Id: Iefd069a34d5e5551bf731e9171958e93377774aa
2021-01-12 19:46:25 -06:00
Schneider Victor-tulias b803f7e2cb Add UI updates for incremental app installs.
1. Changed Preload Icon UI to be grayscale while the app is not startable.
2. Added progress bar for when app is installed but still ownloading.
3. Updated Preload Icon progress and click handling to use new incremental api.

Progress bar color updates will follow in a separate CL.

Demo: https://drive.google.com/file/d/1H1EvtTorLeJwC1eiq10tm-TT81YZ6osk/view?usp=sharing

Fixes: 176901235,176992421,176884453

Test: manual
Change-Id: Ie0575dc56c33c5d6ecd6c5cbf00666b96d6dcb16
2021-01-12 16:04:01 -08:00
TreeHugger Robot a96062238b Merge "Starting CUJ_APP_CLOSE_TO_HOME metric earlier" 2021-01-13 00:03:45 +00:00
Schneider Victor-tulias 6a5f431a7b Revert "Revert "Add UI updates for incremental app installs.""
This reverts commit 229497d182.

Reason for revert: Patching bugs

Fixes: 176901235, 176992421, 176884453

Test: manual

Change-Id: I57e13a15e72284564a10761966732ee31d15fd08
2021-01-12 12:22:33 -08:00
Tiger Huang 9515c8b1c8 Allow system gesture while ignoring bar visibility
The system gesture is allowed while BEHAVIOR_DEFAULT is applied.

Bug: 168913586
Test: WindowInsetsTests
Change-Id: I840e7cb3e35be6fe53e5cd808b97af24de1e3fb7
2021-01-13 03:17:42 +08:00
android-build-team Robot c63638910c Snap for 7076087 from fa39cdcbac to sc-release
Change-Id: Ia7c54c42f5db64fa961bc7d406a33647841e226a
2021-01-12 02:10:05 +00:00
TreeHugger Robot fa39cdcbac Merge "Refactor app open code." 2021-01-11 23:23:15 +00:00
TreeHugger Robot e8ea45182a Merge "Add BROADCAST_CLOSE_SYSTEM_DIALOGS to recents package" 2021-01-11 22:16:22 +00:00
TreeHugger Robot c2d0989c82 Merge "Disabling fling gesture for assistant over deferred region" 2021-01-11 21:36:52 +00:00
Jon Miranda f725e955cb Refactor app open code.
Move all the logic that calculate the app open float properties
to a separate class.

This is in preparation for the new app launch properties.

Change-Id: I1a008b2ea1379cbf667c5ad3ad58ece04bd88185
2021-01-11 15:58:58 -05:00
Bernardo Rufino e0484de39a Add BROADCAST_CLOSE_SYSTEM_DIALOGS to recents package
It uses AM.closeSystemDialogs() and should have the permission. I had
created the protection level in ag/13090697 but forgot to actually
request the permission.

Bug: 177228919
Bug: 159105552
Test: atest CloseSystemDialogsTest
Test: atest android.server.wm.WindowMetricsActivityTests#testMetricsMatchesLayoutOnActivityOnCreate
Change-Id: I661dac17f2160ed36adb1a193e739c200169a37d
2021-01-11 19:25:24 +00:00
TreeHugger Robot 67b612bb85 Merge "Disable default IME in all apps if DISABLE_INITIAL_IME_IN_ALLAPPS is on" 2021-01-11 19:07:18 +00:00
Hyunyoung Song f19c579706 Disable default IME in all apps if DISABLE_INITIAL_IME_IN_ALLAPPS is on
Bug: 173447266
Test: manual
Change-Id: Ib5c03b20cc7f09fdc2d066dd20fb7ccbb1e154f5
2021-01-10 21:09:19 -08:00
android-build-team Robot 86562685ec Snap for 7073693 from cfbfea9172 to sc-release
Change-Id: Iffbd23814e8520ced8eb602dcf0634fae354a189
2021-01-11 00:07:41 +00:00
Jason Chang cfbfea9172 Merge "Fix triggering One-handed mode introduces gesture conflict issues (2/n)" 2021-01-10 03:38:37 +00:00
android-build-team Robot 270618405e Snap for 7071567 from b3f2862a30 to sc-release
Change-Id: I1c163cdced81e0af086943d62c33db24caee6951
2021-01-09 02:06:51 +00:00