Commit Graph
60459 Commits
Author SHA1 Message Date
TreeHugger Robot b0bdd38fe4 Merge "Checking mRecentsAnimationController for null-ness" 2021-01-20 16:29:46 +00:00
TreeHugger Robot fc7132714a Merge "Adding all-apps onboarding popup for 2-button mode" 2021-01-20 08:12:41 +00:00
Sunny Goyal f8f6595670 Merge "Fixing unrelated icons getting removed during sesison failure" 2021-01-20 06:34:27 +00:00
Tiger Huang 5d993e2c6e Merge "Allow system gesture while ignoring bar visibility" 2021-01-20 04:20:40 +00:00
android-build-team Robot 0e04c05ead Merge cherrypicks of [13371196] into sc-release
Change-Id: I187259f63154200e8b451904ceb5516995845987
2021-01-20 02:43:22 +00:00
Schneider Victor-tulias 3c66b72ee8 Revert "Add UI updates for incremental app installs."
This reverts commit b803f7e2cb.

Reason for revert: causes b/177642572

Change-Id: I48b85e8495734a2d3a7b477dfb20929879465b6a
(cherry picked from commit 6e60380abb)
2021-01-20 02:43:16 +00:00
TreeHugger Robot 7b6dd95c2c Merge "Revert "Revert "Add UI updates for incremental app installs.""" 2021-01-20 02:27:55 +00:00
android-build-team Robot 73aaca8d89 Snap for 7090785 from e3a0474116 to sc-release
Change-Id: Ic444e36e7562f91a0d7a5df437406f9c9e3191f8
2021-01-20 02:07:25 +00:00
vadimt fa8731489c Checking mRecentsAnimationController for null-ness
Now that we screenshot asynchronously.

Test: presubmit
Bug: 175708969
Change-Id: I27661b7a889661c91e480edb7fb3d536e34d4c68
2021-01-19 18:05:12 -08:00
Tony Wickham f677930374 Separate TaskView translationX into dismiss + offset translations am: 5662a653da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13370324

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I60d9f219eed57dfab08d815ecf6ba834b546e4df
2021-01-20 01:52:26 +00:00
Schneider Victor-tulias 9918e94c03 Revert "Revert "Add UI updates for incremental app installs.""
This reverts commit 6e60380abb.

Reason for revert: revert was unnecesary

Change-Id: I021769e929d3026b23c5f644e2ee629cec21a301
2021-01-20 00:42:03 +00:00
TreeHugger Robot a2d96e80d6 Merge "Revert "Add UI updates for incremental app installs."" 2021-01-20 00:03:04 +00:00
vadimt 952471f675 Removing automatic failure investigator
It wasn't updated for a while,
creates a false impression that the failure
is already tracked, and hopefully soon
will be replaced by new clustering.

Test: presubmit
Bug: 161478674
Change-Id: Icc3716c1f534867d5e4b21d18c9cede273da8704
2021-01-19 15:14:03 -08:00
Tony Wickham 5662a653da 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: I204f039331dd43bbbf87bf6a2249238daf4d9877
2021-01-19 23:00:45 +00:00
Tony Wickham e3a0474116 Merge "Separate TaskView translationX into dismiss + offset translations" 2021-01-19 22:58:36 +00:00
Samuel Fufa 16b74e0c4b Merge " Migrate from Plugin SearchTarget to API search Target [3/3]" 2021-01-19 22:05:49 +00:00
Sunny Goyal 203f596881 Fixing unrelated icons getting removed during sesison failure
Bug: 177642572
Test: Verified on device
Change-Id: Ia17f7f151b503f95c643c690f2fc11d624911f3e
2021-01-19 21:11:14 +00:00
Samuel Fufa bdf4f71299 Migrate from Plugin SearchTarget to API search Target [3/3]
- Implement SearchServicePipeline which utilizes system Search services for AllAppsSearch Results
- Parse android.app.search.SearchTarget handling for Shortcut, Slice, Settings and Play results
- Aggregate SearchTargets to a tree structure for in-line Search Results

Bug: 177223401
Test: Manual
Change-Id: Iddc0f3691578fd332cd2df643a237b29f3eccd0d
2021-01-19 14:29:13 -06:00
TreeHugger Robot 3da80bd3a1 Merge "Resolving a leak of activity via SharedPreferencesImpl.MemoryCommitResult" 2021-01-19 20:26:21 +00:00
android-build-team Robot 337c310c51 Merge cherrypicks of [13369986, 13369517, 13369718, 13370006, 13369357, 13369358, 13369382, 13370008, 13369933, 13369934, 13369937, 13369720] into sc-release
Change-Id: Iebb2501e33f13fe1fe333d25de0737203fff8b8c
2021-01-19 20:10:35 +00:00
Schneider Victor-tulias e678cc18d7 Revert "Add UI updates for incremental app installs."
This reverts commit b803f7e2cb.

Reason for revert: causes b/177642572

Change-Id: I48b85e8495734a2d3a7b477dfb20929879465b6a
(cherry picked from commit 6e60380abb)
2021-01-19 20:09:44 +00:00
Sunny Goyal 64bb8946c7 Adding all-apps onboarding popup for 2-button mode
Bug: 177402588
Bug: 175137718
Test: Verified on device

Change-Id: Idc1c81add3b11451ef43f25163829f9ffcde131a
2021-01-19 19:51:36 +00:00
Schneider Victor-tulias 6e60380abb Revert "Add UI updates for incremental app installs."
This reverts commit b803f7e2cb.

Reason for revert: causes b/177642572

Change-Id: I48b85e8495734a2d3a7b477dfb20929879465b6a
2021-01-19 19:50:18 +00:00
Sunny Goyal 6638b56667 Merge "Preventing crash when a gesture starts after home activity change but before the update has been received by Launcher" 2021-01-19 18:04:20 +00:00
android-build-team Robot 52236aa8ae Snap for 7088800 from d9abb1767d to sc-release
Change-Id: I83e87a05eb14fc5a4ffbbd06b74d6900e88a9c7d
2021-01-19 02:07:09 +00:00
Alex Chau d6bc129231 Ensure setRequestedOrientation is called when unfolding the device
- In RotationHelper, mLastActivityFlags defaults to -1, which is the same value as SCREEN_ORIENTATION_UNSPECIFIED. When the screen is folded, a new instance of RotationHelper is created, which attempts to reset setRequestedOrientation to SCREEN_ORIENTATION_UNSPECIFIED. But SCREEN_ORIENTATION_UNSPECIFIED is equal to mLastActivityFlags, and the call is skipped.
- The simpel fix is to default mLastActivityFlags to something else that is not a a valid value of setRequestedOrientation

Bug: 177320461
Change-Id: I1ca284149598745bfa612ee12e4da3b940b60288
(cherry picked from commit 8aa592f44620a8f57fa104819f8bba57c4360f95)
2021-01-18 12:17:09 +00:00
android-build-team Robot d3257f681d Snap for 7088030 from 4380743251 to tm-release
Change-Id: I5e35245bb1b31c39e1740e6ebee01292d2932941
2021-01-18 10:56:17 +00:00
[1;3C d9abb1767d Support launcher animations in new transition system
Hook up the shell-transitions RemoteTransition to
launcher.

Bug: 169035082
Test: Launch an app from a launcher icon and observe
Change-Id: Ie327c11bbc59f19fb969f159f8380c10e4a84e50
2021-01-17 21:26:21 -08:00
android-build-team Robot f75a5ff2c9 Snap for 7086648 from 4380743251 to sc-release
Change-Id: I1ae2b683fc5ba5e89920dc0a22950bcc67325cf2
2021-01-17 00:07:01 +00:00
vadimt 81aaa265f4 Resolving a leak of activity via SharedPreferencesImpl.MemoryCommitResult
Test: presubmit
Bug: 177065099
Change-Id: I751c21d5915d20c1c27dd5f15b5c096e87963103
2021-01-15 18:47:13 -08:00
android-build-team Robot 97b7ebd180 Snap for 7085169 from b18501402c to sc-release
Change-Id: I459cd8e9b233f74209a6da9d1cb5ece68e1fdf41
2021-01-16 02:07:10 +00:00
Sunny Goyal 4380743251 Merge "Waiting until the launcher change is propagater before test" 2021-01-15 23:04:51 +00:00
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