Commit Graph

1409 Commits

Author SHA1 Message Date
Vadim Tryshev 46aab40dd5 Merge "Detect leaks only on test success Bug: 191690396 Test: presubmit" into sc-dev am: 9d7ff51901
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15068626

Change-Id: I15ec31f5147ee3a484d33dedc3e6ae5dfe25abbd
2021-06-23 17:52:35 +00:00
Vadim Tryshev 9d7ff51901 Merge "Detect leaks only on test success Bug: 191690396 Test: presubmit" into sc-dev 2021-06-23 17:50:47 +00:00
vadimt 143748fbf4 Detect leaks only on test success
Bug: 191690396
Test: presubmit

Change-Id: Ie59c3b944d420ac25ebba86bf500fcf33700ca99
2021-06-22 18:49:34 -07:00
Vadim Tryshev b64e067450 Merge "Improving TAPL diagnostics" into sc-dev am: c5c0e5e96e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15056761

Change-Id: Icda0324952530680318cee6892680b146615c927
2021-06-22 18:20:41 +00:00
Vadim Tryshev c5c0e5e96e Merge "Improving TAPL diagnostics" into sc-dev 2021-06-22 18:06:06 +00:00
TreeHugger Robot d08afa9cb7 Merge "Improving diagnostics for objects disappearing from screen" into sc-dev am: 5dae3f3162
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14989389

Change-Id: I39008775e5557b5d0a21596550e4070b62b65f38
2021-06-22 03:47:34 +00:00
TreeHugger Robot 5dae3f3162 Merge "Improving diagnostics for objects disappearing from screen" into sc-dev 2021-06-22 03:33:19 +00:00
vadimt 2c81502028 Improving TAPL diagnostics
Test: presubmit
Bug: 187761685
Change-Id: Ib8e965862c6accb393681c8b3ede60c7f9d26e48
2021-06-21 19:22:18 -07:00
Vinit Nayak b974a86c8f Add IDs to buttons in 3 button nav for Taskbar
Bug: 191449914
Test: testSwitchToOverview passes
See bug for more details

Change-Id: I108bbe7607181680bca7cb5fad5e7289191edde6
2021-06-18 18:20:44 -07:00
TreeHugger Robot 0877cdab7a Merge "Ensure widgets header is out of the gesture region before clicking" into sc-dev 2021-06-18 00:56:52 +00:00
Vadim Tryshev 26cd946f29 Merge "Improving diagnostics when Launcher dies while in ContentProvider call" into sc-dev 2021-06-17 21:02:24 +00:00
Tony Wickham d410a2c168 Ensure widgets header is out of the gesture region before clicking
This way, NexusLauncher won't appear during the Launcher3 test.

Test: AddConfigWidgetTest#testConfigCancelled
Bug: 188450580
Change-Id: Iedf0e0e17eab2473ecd2d17a4391cf9db3e80599
2021-06-17 17:49:54 +00:00
vadimt 5a03ade794 Improving diagnostics when Launcher dies while in ContentProvider call
Test: presubmit
Bug: 191059619
Change-Id: Ib87a41663a63729024b41603973b782cf4763551
2021-06-15 19:34:24 -07:00
Jon Miranda 229c4c3235 App Shortcut menu bug fixes and polish.
- Widget is its own item.
- Change order of icon order.
- Update grab handle colors

Bug: 188095695
Test: long press on apps with/without widgets, long press apps on workspace/
      all apps/search

Change-Id: Iabb9b4b3f3a928103b9d62601f22e74ef2325d7c
2021-06-15 18:59:51 -07:00
vadimt c636900a90 Improving diagnostics for objects disappearing from screen
Test: presubmit
Bug: 187761685
Change-Id: Id932e8100399990d791f7825787708d5d459f61e
2021-06-15 18:52:31 -07:00
vadimt 7d3f73c856 Excluding corner radius from quick switch gesture.
Test: forrest on new devices
Bug: 190638716

Change-Id: Iefa89e040ab77869db7022d7c535a5546e03ae3c
2021-06-14 15:05:23 -07:00
TreeHugger Robot ce7084f45d Merge "Removing UB flavor of TAPL library" into sc-dev 2021-06-14 21:05:33 +00:00
TreeHugger Robot b32c61a6cc Merge "Logging UPs and DOWNs that TAPL injects" into sc-dev 2021-06-14 20:55:48 +00:00
vadimt 1e1ad449a8 Logging UPs and DOWNs that TAPL injects
Test: presubmit
Bug: 190748682
Change-Id: I82e792724bab178a9c3ca190609af913fbaf4a87
2021-06-11 14:10:45 -07:00
vadimt 6c2e3b3031 Removing UB flavor of TAPL library
Test: presubmit
Bug: 187761685
Change-Id: Ide5060886f1b9856c1046bc2028f55418e8c1e0e
2021-06-11 13:34:57 -07:00
Jon Miranda 32ff76cb4e Adding color back to popup container.
For Color exctraction now occurs in groups:
- System shortcuts
- Deep shortcuts
- Notifications

For home setting popup, each DeepShortcutView will have its own
extracted color.

Bug: 188095443
Test: manual
Change-Id: I7e209f863ff180b8f017aeb2a73c6f1a51842e68
2021-06-10 19:15:24 +00:00
Vadim Tryshev 1ba5a68e31 Merge "Improve diagnostics when cannot install wellbeing test apk" into sc-dev 2021-06-04 19:15:55 +00:00
TreeHugger Robot 3941bc65e3 Merge "Delaying initializing "is launcher3" flag" into sc-dev 2021-06-02 00:11:47 +00:00
vadimt 8d27c4c40c Delaying initializing "is launcher3" flag
Launcher3 tests may set default launcher after instantiating TAPL

Test: presubmit
Bug: 188477498
Change-Id: I6e40bc3fcf9c4f040983f164d3a04d0189228f83
2021-06-01 14:11:58 -07:00
zakcohen cad022499c Remove overview feedback.
Bug: 189489289
Test: TAPL update
Change-Id: If531aed1b2e10de9b60f9929cbcdcb5e7ffd436b
2021-05-27 14:09:09 -07:00
vadimt fd0ac0ea8c Improve diagnostics when cannot install wellbeing test apk
This apk is used for Wellbeing tests.

Test: local
Bug: 187761685
Change-Id: I66f7c308b70b6bd048806d6417417a6e398605db
2021-05-21 10:46:46 -07:00
vadimt bfac8730fe Improving TAPL messaging
Test: presubmit
Bug: 187761685
Change-Id: I83eb0eef2f9c8c33cc9d1b42cb52fb670a5bf427
2021-05-20 15:48:29 -07:00
Vadim Tryshev eed1711038 Merge "Revert "Removing workaround for battery defender"" into sc-dev 2021-05-17 18:00:05 +00:00
vadimt 2ecf126256 Removing @Stability flavors for unbundled.
They can be accidentally used.

Test: presubmit.
Bug: 187761685
Change-Id: I0cf859a51fb708ed51ba2f9506ab76af42ee3d5c
2021-05-14 17:42:24 -07:00
vadimt f9ccf0175d Revert "Removing workaround for battery defender"
This reverts commit f4bb052ca0.

Reason: we have new episodes of phone locking during the test.
https://flakes-clusters.corp.google.com/#?androidAtpBranch=git_sc-dev&androidAtpModule=com.google.android.apps.nexuslauncher.out_of_proc_tests&d=3&maxResults=10

https://flakes-clusters.corp.google.com/#?androidAtpBranch=git_sc-dev&androidAtpModule=com.google.android.apps.nexuslauncher.tests&d=3&maxResults=10

Search for "Phone is locked" and "Keyguard is visible".

Also, for new devices, the phone is locked consistently, see for example
Redfin here:
https://blackbox.googleplex.com/dashboard/Launcher3Main_new_devices/testsuite/git_master/nexuslauncher_oop_tests_platform/2/bramble-userdebug/0

Reverting to see whether this helps.

Bug: 151613234
Test: presubmit
Change-Id: I44a94f9722deaa21d89fdfd79646ae661ebe972d
2021-05-14 11:14:35 -07:00
TreeHugger Robot 85584c9eba Merge "Add workaround for testing Launcher3Tests" into sc-dev 2021-05-13 07:42:47 +00:00
vadimt e2801bcb77 Removing pss checks in memory tests
Test: presubmit
Bug: 185181057
Change-Id: I4f504f9540b80c62cd3f1024ff1d1b57102f2ed6
2021-05-12 18:57:55 -07:00
TreeHugger Robot 39228d0325 Merge "Improving TAPL error messages" into sc-dev 2021-05-12 19:10:34 +00:00
TreeHugger Robot 95ff5cf63e Merge "Handle config changes in Launcher" into sc-dev 2021-05-11 10:58:48 +00:00
Winson Chung d193f65878 Merge "Use testapi to trigger gc in system and sysui" into sc-dev 2021-05-11 05:02:37 +00:00
vadimt a6cb751715 Improving TAPL error messages
Test: forrest
Bug: 187761685
Change-Id: I822f3f28e7153028fb5746e037066153478ec86d
2021-05-10 17:50:41 -07:00
TreeHugger Robot cd7406d903 Merge "Diagnosing only system health problems happened during the test" into sc-dev 2021-05-11 00:31:33 +00:00
vadimt eefc2e1de1 Diagnosing only system health problems happened during the test
Test: presubmit
Bug: 187761685
Change-Id: I3feba12e2228fe6dda3b0d65d904b0b839da2108
2021-05-11 00:31:24 +00:00
Winson Chung b09a41d86c Use testapi to trigger gc in system and sysui
- Do this prior to gc'ing launcher to ensure that temporary binder
  refs on the system side a released

Bug: 186268407
Test: Presubmit

Change-Id: I7878e1042b07ded5491af6153cff9b0772c557db
2021-05-10 13:00:37 -07:00
Alex Chau a02eddc144 Handle config changes in Launcher
- This is practically a revert to http://ag/c/13687966/5 and refactored to use DisplayController.DisplayInfoChangeListener
- Make Launcher handle size and density change so transition is less janky when screen size changes
- Added fix in RecentsView to update state and TaskView when display profile changes
- Removed 720dp specific resoureces
- Removed unused widget_section_indent
- Removed unnecessary all_apps_background_canvas 600dp override that is not needed in AllApps+
- Moved remaining dp specific into DeviceProfile
- Simplified allowRotation logic to use single variable in DeviceProfile to determine if allow rotation is enabled by default

Fixes: 180803696
Test: manual
Change-Id: Iea0a7d1a0e14dc3613152dd3b3887450a2e1fc2f
2021-05-10 18:50:02 +01:00
Winson Chung 35226124e3 Removing some unused logs
Fixes: 185820525
Fixes: 177316094
Fixes: 158017601
Fixes: 180915942
Change-Id: I8ce5bde08e1728d3209762c5f061245386408825
2021-05-07 20:52:33 -07:00
Sunny Goyal c52c0782a7 Merge "Adding support for determining split layout for launcher." into sc-dev 2021-05-04 22:33:38 +00:00
TreeHugger Robot 60f6662fa3 Merge "Temporary wait to check that waiting after swiping from context menu is a way to the real fix." into sc-dev 2021-05-04 03:18:07 +00:00
vadimt e9ce95bed8 Temporary wait to check that waiting after swiping from context menu is a way to the real fix.
Test: presubmit
Bug: 187080582
Change-Id: Ief09857c267e8786bb6f67203db26b47f27060ea
2021-05-03 19:05:35 -07:00
Sunny Goyal 19ff728b92 Adding support for determining split layout for launcher.
> Simulating the windo wmanager API to get available device
  profiles until final API
> When a device has multiple internal displays, and with both
  tablet and phone possibilities, it uses a split workspace layout

Bug: 186160341
Bug: 175782275
Test: Manual
Change-Id: Ieff2329acac7cdd6b9abe6f96cd459cd45bd0efe
2021-05-03 14:48:28 -07:00
yangbill 5f0f1abae2 Add workaround for testing Launcher3Tests
Correct test config path and adding LOCAL_COMPATIBILITY_SUPPORT_FILES.

Bug: 183540376
Test: atest Launcher3Tests
Change-Id: Ifd2a863cc1af838d78ed023a4405e3d2c450b62b
2021-05-03 15:01:51 +08:00
Alina Zaidi b42513fbc5 Merge "Fix some bugs in widget pickers." into sc-dev 2021-04-30 09:19:07 +00:00
Alina Zaidi 2b5124ec41 Fix some bugs in widget pickers.
- Update color of Educational tip view contents. Background colorAccentSecondary
in NexusLauncher above S, colorAccent otherwise (b/185834169)
- Update widget picker search bar color and its text font and color. (b/186423026)
- Update button padding and text in pin widget picker. (b/182994384, b/183601584)

Bug: 185834169
Bug: 186423026
Bug: 182994384
Bug: 183601584
Test: Manually tested
Change-Id: I36cd3ed2285677d0c164db8f57f6c90a5f247982
2021-04-30 07:52:23 +01:00
Treehugger Robot a74390020d Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" am: de6e32489a am: be0414dae4 am: 40a03a5f78
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1691588

Change-Id: If0cdd0543f7c07225bba354b47ccb14fd53d05d9
2021-04-30 04:24:59 +00:00
Treehugger Robot 40a03a5f78 Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" am: de6e32489a am: be0414dae4
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1691588

Change-Id: I59dc8c3aeedef77023a1a69d80bea87ec6d590c9
2021-04-30 03:32:49 +00:00