Commit Graph

1257 Commits

Author SHA1 Message Date
Winson Chung 0c2b05947e Handle uiMode changes
- Launcher already dedupes if there are no theme changes

Bug: 148988542
Test: adb shell cmd uimode car yes/no, adb shell cmd uimode night yes/no
Change-Id: Ia83f02d18a0433c8be59d1f488e58b38476ba5ff
2020-07-21 17:20:53 +00:00
TreeHugger Robot 44b72984e6 Merge "Removing diags for a fixed flake" into ub-launcher3-master 2020-07-20 20:27:09 +00:00
TreeHugger Robot 0abeb31ca3 Merge "Introducing a new gesture scope" into ub-launcher3-master 2020-07-20 19:50:19 +00:00
vadimt 665232be61 Removing diags for a fixed flake
Bug: 160238801
Change-Id: Ia166eb1f154ddeeb70da5a141c9e985a265ba49a
2020-07-20 12:24:50 -07:00
TreeHugger Robot d8181f4dd3 Merge "Removing workarounds for a fixed bug" into ub-launcher3-master 2020-07-18 19:38:56 +00:00
vadimt a37ecee104 Introducing a new gesture scope
Gesture may occur outside of Launcher and not trigger system gesture recognition
by TIS.

Change-Id: Ibbb0180d6ef3856ab652164e6f3c1c86488a4caa
2020-07-17 18:30:16 -07:00
vadimt ba161b7393 Increasing wait time for end-action events.
This is supposed to fix a flake in one of widgets tests.

The end-scroll event is posted by the system server to another thread
may arrive in ~13 sec.

The delay may have been caused by the previous test that just created
and deleted a user, so the system is busy with processing that.

Bug: 160238801
Change-Id: I43d0804252202ae04c731f35fb219c4be4bd4a76
2020-07-15 22:26:51 +00:00
Becky Qiu 928a421b99 Merging from ub-launcher3-master @ build 6682763
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-master_master_6682763.html

Change-Id: Ibff46b3ef7ff89accb459db323f31179adb4ef21
2020-07-15 20:50:57 +00:00
vadimt 40c9cfa3c8 Productizing useful diags
The bug doesn't repro, but it makes sense to keep the diags

Bug: 156287114
Change-Id: I4a9f43e02eec1b1386067a90e4c17ad109adcfa5
2020-07-14 15:53:32 -07:00
vadimt 4bc691b988 Removing workarounds for a fixed bug
Bug: 148422894
Change-Id: Ic6faa173ac5f28c8656daf68ac8304563264afdd
2020-07-13 20:02:13 -07:00
vadimt 4945540579 Removing a method that simply returns false
Bug: 154157191
Change-Id: Idedf1ce0ba78e915460cf3ea22cf5e7c70a96e92
2020-07-10 19:19:08 -07:00
TreeHugger Robot 53f2dd05e7 Merge "Revert "Temporarily disabling events checking in git_master"" 2020-07-10 20:50:11 +00:00
Vadim Tryshev 5fbd925715 Revert "Temporarily disabling events checking in git_master"
This reverts commit 0b65822f30.

Reason for revert: Switched from logcat to TestProtocol for
events checking.

Bug: 153824894
Change-Id: Ifdc50400bf8a4d6d4a918efd376817b2882be7bb
2020-07-09 20:24:47 +00:00
vadimt ae76bebfed More diags for non-receiving scroll end
Bug: 160238801
Change-Id: I2e19d16e49e84e93bdf135eb97d5f033475305e8
2020-07-08 10:09:46 -07:00
vadimt a190dc1f40 Zero tolerance towards referred destroyed activities
After a framework fix, we are not allowing rooted
destroyed activities at all.

Bug: 139137636

Change-Id: I0dda200db438e1a1b5587636ee08f65300dfa6d1
2020-06-26 18:33:27 +00:00
TreeHugger Robot ac802c2bdc Merge "Improving diagnostics when Launcher dies during a gesture" into ub-launcher3-master 2020-06-25 22:32:28 +00:00
vadimt 56fe9150fa Improving diagnostics when Launcher dies during a gesture
Instead of crashing upon getting uninitialized event sequence, we show a
meaningful message.

Bug: 159921830
Change-Id: Ie42039b39a453c60bd5df3e54058d582137bba06
2020-06-25 13:32:20 -07:00
vadimt fb099c7fe1 Improving diagnostics when can't find a widget
Instead of "exceeded number of attempts" now printing that can't scroll
to widget.

Change-Id: Ia6f582e038d68fc35f152d94e592f60ef0bc2cf4
2020-06-24 21:54:16 +00:00
TreeHugger Robot 44035d9d17 Merge "Merging from ub-launcher3-rvc-dev @ build 6621659" into rvc-dev am: 738b1af342 am: f7897465e3 am: 808a7c1920 am: dde7797ec5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11975976

Change-Id: Ifdd13981f0e61d248e89a1f10eec3b51369840f4
2020-06-24 04:26:33 +00:00
Sunny Goyal 315eb02012 Merging from ub-launcher3-rvc-dev @ build 6621659
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6621659.html

Change-Id: Id9689e3dfa641c0e004c9dc975e281358bed7ad7
2020-06-23 16:28:38 -07:00
TreeHugger Robot 2f987f6466 Merge "Add an exported flag in manifest" into ub-launcher3-master 2020-06-23 21:31:32 +00:00
Ashwini Oruganti aa902e859b Add an exported flag in manifest
With b/150232615, we will need an explicit value set for the exported
flag when intent filters are present, as the default behavior is
changing for future versions. This change adds the value reflecting the
previous default to the manifest.

These changes were made using an automated tool, the xml file may be
reformatted slightly creating a larger diff. The only "real" change is
the addition of "android:exported" to activities, services, and
receivers that have one or more intent-filters.

Bug: 150232615
Bug: 158198882
Test: TH
Exempt-From-Owner-Approval: mechanical refactoring
Change-Id: I083a7bcab968c881f7cdff7152a249691ffac316
2020-06-23 13:58:18 -07:00
Hyunyoung Song 85d90a16bc Merging from ub-launcher3-rvc-dev @ build 6617269
Bug: 150504032
Test: manual, presubmit on the source branch
https://android-launcher.teams.x20web.corp.google.com/merge/ub-launcher3-rvc-dev_rvc-dev_6617269.html

Change-Id: I7a13230553f9c42d5f67164234c33cf77efa9cf2
Merged-In: I2a168bfa8e3979ade26ab1d3cddbbae84cf79590
2020-06-23 05:11:31 +00:00
Hyunyoung Song 0b51b916b0 Merging from ub-launcher3-rvc-dev @ build 6617269
Bug: 150504032
Test: manual, presubmit on the source branch
https: //android-launcher.teams.x20web.corp.google.com/merge/ub-launcher3-rvc-dev_master_6617269.html
Change-Id: I2a168bfa8e3979ade26ab1d3cddbbae84cf79590
2020-06-22 18:53:39 -07:00
vadimt 839fb7b3ae Eliminating messages that launcher activity is frozen
They were ultimately caused by killing Launcher process from tests.

Now having a test info handler request to clear db.

Bug: 152629799
Change-Id: Ia81ddc3e338718c4cff08c7396b9fda1b7091024
2020-06-22 15:39:19 -07:00
vadimt a17a10cddd Changing event check implementation from logcat to TestProtocol
Bug: 153670015
Change-Id: Id9fc759bd5be68758ef9cf0abbba3cd6fa452796
2020-06-22 11:04:03 -07:00
Pinyao Ting 5c2f1a6fa4 Merging from ub-launcher3-rvc-dev @ build 6577335 am: 8020bf2f4b am: e0a0876062 am: af957e82c4 am: cd902c0fc0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11828234

Change-Id: I7def4bc74da0e4bf8ce19bd281d90945f45a6a3d
2020-06-11 09:58:01 +00:00
vadimt 45564c831b Removing debug requests from non-debug test info handlers
Bug: 152629799
Bug: 153670015
Change-Id: I02776be811d1d3325b35880d19d25a6638f904ef
2020-06-10 18:48:37 -07:00
Pinyao Ting 8020bf2f4b Merging from ub-launcher3-rvc-dev @ build 6577335
Bug: 150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_6577335.html

Change-Id: Ie1f44dd646088759fef66251fe9e5f584b804d73
2020-06-10 21:54:11 +00:00
vadimt d9092e83d6 Removing instrumentation for unreproable bug
Bug: 152645831
Change-Id: Iacdb103b01375b8bf48691867b844adebcd325a0
2020-06-05 15:30:31 -07:00
Ashwini Oruganti 23c2836690 Add an exported flag in manifest
With b/150232615, we will need an explicit value set for the exported
flag when intent filters are present, as the default behavior is
changing for future versions. This change adds the value reflecting the
previous default to the manifest.

These changes were made using an automated tool, the xml file may be
reformatted slightly creating a larger diff. The only "real" change is
the addition of "android:exported" to activities, services, and
receivers that have one or more intent-filters.

Bug: 150232615
Bug: 158198882
Test: TH
Exempt-From-Owner-Approval: mechanical refactoring
Change-Id: I083a7bcab968c881f7cdff7152a249691ffac316
2020-06-04 18:25:35 -07:00
Tracy Zhou 40a53f5398 Merge "Merging from ub-launcher3-rvc-dev @ build 6541617" into rvc-dev am: 614c185e21 am: dfbe0fc1a3 am: ffa5d445b1 am: 1ee4743a17
Change-Id: Idcc1eb34ad0df71379b0689728d5304cda3bcf43
2020-05-30 08:36:42 +00:00
Tracy Zhou 6699858d49 resolve merge conflicts of 5d065997f8 to master
Test: I solemnly swear I tested this conflict resolution.
Bug: None
Change-Id: I277a74dac999f3f56836fafc04ac799f84154013
2020-05-29 19:38:36 -07:00
Tracy Zhou 6ae611a8eb Merging from ub-launcher3-rvc-dev @ build 6541617
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6541617.html

Change-Id: I23f7656c1cc1fcc922aab4f533bcb25509bc882f
2020-05-29 12:03:25 -07:00
TreeHugger Robot fd522fe13e Merge "Using unstable client for fetching test info for oop tests" into ub-launcher3-rvc-dev 2020-05-29 05:26:46 +00:00
Winson Chung bc849d6159 Using unstable client for fetching test info for oop tests
Bug: 157661745
Change-Id: Ifbb211f9bbaa444df682145a0a9e82c5d0f24bdf
2020-05-28 20:14:54 -07:00
Tracy Zhou d67be77066 Merging from ub-launcher3-rvc-dev @ build 6538292
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6538292.html

Change-Id: I53b084ca2dc94d94f87d696bbfd7666b55d712ad
2020-05-28 17:45:04 -07:00
TreeHugger Robot b0948db99d Merge "Dumping TIS state on failures" into ub-launcher3-rvc-dev 2020-05-27 21:38:55 +00:00
vadimt 835e612aee Dumping TIS state on failures
Bug: 156287114
Change-Id: Ib438aae3cc4682b1f1c958e59337c095480d910a
2020-05-27 13:48:58 -07:00
vadimt 3096b78914 Add navigation mode diags to the system anomaly detection
Bug: 156095088
Change-Id: I3504cc2187c4bcc6229ecbcb0da360e310eeaa9f
2020-05-27 11:20:22 -07:00
TreeHugger Robot 1152e4526d Merge "Adding a method checking whether Overview has tasks" into ub-launcher3-rvc-dev 2020-05-21 20:47:31 +00:00
TreeHugger Robot 9eae863216 Merge "Insert delays in dumping input state" into ub-launcher3-rvc-dev 2020-05-21 20:39:29 +00:00
TreeHugger Robot bfe7b44a91 Merge "Checking success of injectInputEvent" into ub-launcher3-rvc-dev 2020-05-21 20:29:34 +00:00
vadimt e238271384 Adding a method checking whether Overview has tasks
Change-Id: I9817218990c470ad7f266e336d931e2cd313535e
2020-05-21 13:11:42 -07:00
vadimt f5e98ead9d Insert delays in dumping input state
Hpoing to avoid overwhelming logcat

Bug: 156287114
Change-Id: Ia0e95ade205a2c5cd6d7a27b59c9896fb78370af
2020-05-21 12:42:32 -07:00
vadimt 623670c2e3 Checking success of injectInputEvent
Bug: 156287114
Change-Id: Id000b39a187c909475dd6dd409d14430b3654517
2020-05-21 12:32:33 -07:00
Vadim Tryshev 2c75d08806 Merge "Failing with diags when UiObject2 container disappears" into ub-launcher3-rvc-dev 2020-05-21 17:53:03 +00:00
Joshua Trask 2ec25956af Merging from ub-launcher3-rvc-dev @ build 6511067 am: 41dc164d11 am: 3ec5c4970c am: e7f0d0ab9d am: 72139e2d8b
Change-Id: I7cdba25d938f4ef1a6f355f58ab5085ea17b8730
2020-05-20 22:16:03 +00:00
vadimt 8a8255916f Failing with diags when UiObject2 container disappears
Change-Id: If6af49087a5afd6374776e55067b0502dabb7585
2020-05-20 15:05:49 -07:00
Joshua Trask 41dc164d11 Merging from ub-launcher3-rvc-dev @ build 6511067
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6511067.html

Change-Id: Ifc8c251ef0f03e66de3b1c9fa94bfcb980704769
2020-05-20 11:12:54 -04:00
TreeHugger Robot 7cdb4cfecc Merge "Rename closeEvents to reduce confusion" into ub-launcher3-rvc-dev 2020-05-18 21:21:14 +00:00
TreeHugger Robot e5a83db490 Merge "Remove tracing for a fixed flake" into ub-launcher3-rvc-dev 2020-05-18 17:21:41 +00:00
vadimt 2bba25a08d Remove tracing for a fixed flake
Bug: 155926212
Change-Id: Ia847d735d58154bc768b69d3ae3dc0af7fcdbf11
2020-05-18 16:34:57 +00:00
Winson Chung 20195cf7fb Merging from ub-launcher3-rvc-dev @ build 6492476 am: 6e0d05fc41 am: 3cc9e2dcc1 am: 33d5253e1d am: 62f74e265d
Change-Id: Iedb9659268f3f252d611722375e9e24b8289b91f
2020-05-16 03:52:28 +00:00
vadimt bb6f5f5242 Add dumpsys input where it was missing
Bug: 156287114
Change-Id: Ie0a71e8dc261abfde4eec3ce882786d77a870c32
2020-05-15 13:12:37 -07:00
vadimt 7e4d19f842 Rename closeEvents to reduce confusion
Change-Id: I73f083c568846ec8f96b4b403afdaf10d75a106e
2020-05-14 19:52:01 -07:00
vadimt 5670d462de Avoid truncation of input trace
Bug: 156287114
Change-Id: Iac0f93d4e8082907210bd6312d1c046ff1f49dba
2020-05-14 14:25:38 -07:00
Winson Chung 6e0d05fc41 Merging from ub-launcher3-rvc-dev @ build 6492476
Bug: 150504032
Test: manual, presubmit on the source branch
    x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6492476.html
Change-Id: I96b36965f7b471eb77aa78a8b923ed9298e8a02f
2020-05-13 23:22:18 +00:00
TreeHugger Robot 1462617c97 Merge "Starting investigation for non-delivered TIS events" into ub-launcher3-rvc-dev 2020-05-13 20:40:47 +00:00
vadimt 87db7187c6 Starting investigation for non-delivered TIS events
Bug: 156287114
Change-Id: Icae88318a8e5a8f6b9931913b24ad3ece5475cc3
2020-05-13 13:08:39 -07:00
TreeHugger Robot 794ca4dba5 Merge "Dumping view hierarchy before swiping to Overview" into ub-launcher3-rvc-dev 2020-05-13 04:16:18 +00:00
vadimt 0790cef41c Dumping view hierarchy before swiping to Overview
Bug: 156044202
Change-Id: I21a11a7a55103cffbc05ddeeb93ecc4f6f4063e7
2020-05-12 18:25:32 -07:00
TreeHugger Robot eb0136b7c4 Merge "Abstracting out state handler logic into base classes so that it can also be used in different activity" into ub-launcher3-rvc-dev 2020-05-12 00:29:52 +00:00
TreeHugger Robot 3d668090af Merge "Resolve Test flakes" into ub-launcher3-rvc-dev 2020-05-11 23:40:43 +00:00
Sunny Goyal 35e7d38681 Abstracting out state handler logic into base classes so that it can
also be used in different activity

Change-Id: Ic5e60b21e1429c71f1cd4e7041e70bf4fc9761b7
2020-05-11 16:38:26 -07:00
vadimt 5d59df4fd9 Don't check TIS events mismatch for successful gestures
Perhaps, due to a framework bug, events sometimes don't get delivered to
TIS; this doesn't seem to cause user-visible problems.

Later we'll need to investigate why this happens.

Bug: 154157191
Change-Id: I25f45ccab10f6c537c14610e40c2d02d2d3f28ad
2020-05-11 13:14:06 -07:00
Samuel Fufa b549819676 Resolve Test flakes
-> Synchronize calls in LoaderTask.java
issue 156041043

-> Remove non system users on setup
If a work test crashes before getting to run its teardown - we might end up with a user profile that could throw off subsequent tests.
issue 156022161

Test: Manual
Change-Id: Ife708a3de01572f7cb2187078d592d8d570dd951
2020-05-10 13:51:41 -07:00
TreeHugger Robot 4f51725717 Merge "Adding waiting for Launcher initialization" into ub-launcher3-rvc-dev 2020-05-08 21:26:30 +00:00
vadimt 2794f563a0 Adding tracing for switching to overview instead of all apps
Bug: 156095088
Change-Id: I1257617192e913d06edd0879396957b1e40524b7
2020-05-08 10:39:29 -07:00
James O'Leary 5282caff65 Merging from ub-launcher3-rvc-dev @ build 6469858 am: fe68c9eec1 am: dab51b766e am: 36c83f49c7 am: 57ca886825
Change-Id: Ia889c0aef2222097331117bda308fe944cd2a027
2020-05-08 17:30:37 +00:00
vadimt 60d3333ff0 Adding waiting for Launcher initialization
This may fix or ease TIS sometimes not receiving events.

Bug: 154157191
Change-Id: I5db9e88397788014dbba9716d777a2b97347828c
2020-05-08 09:29:08 -07:00
James O'Leary fe68c9eec1 Merging from ub-launcher3-rvc-dev @ build 6469858
Bug: 150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_6469858.html

Change-Id: Ia2feae3192f875638692e55f4c88746c0a8159a3
2020-05-07 17:53:51 -04:00
Vadim Tryshev 340e68219e Merge "Restarting event reader after reaching the end of stream" into ub-launcher3-rvc-dev 2020-05-07 21:29:46 +00:00
vadimt 3e089e8a26 Restarting event reader after reaching the end of stream
This should'n happen, but happens. The best we can do is to re-run the
logcat command.

Change-Id: I471d9f0188243c81585b75f81dd03450c1f7ad9b
2020-05-07 12:29:19 -07:00
TreeHugger Robot d4f87007b6 Merge "Likely, fixing view hierarchy changing during pressHome." into ub-launcher3-rvc-dev 2020-05-07 17:41:22 +00:00
vadimt 29896284a8 Likely, fixing view hierarchy changing during pressHome.
Test RequestPinItemTest.testPinShortcut doesn't wait for the add-to-home
prompt to disappear before proceeding to pressHome. So sometimes
pressHome still sees that prompt that disappears while pressHome is
executing.

Now waiting for the prompt to disappear.

Bug: 155926212
Change-Id: I2c7bfe26839ae406da592e81de8836666c373756
2020-05-06 19:08:59 -07:00
vadimt fbfe79d8a1 Debug tracing for view hierarchy changing during pressHome
Bug: 155926212
Change-Id: Ie9e8470c23b954890ae41fc9a442422f21093855
2020-05-06 16:41:13 -07:00
TreeHugger Robot fc9ea9b0fc Merge "Speeding up TAPL by calling getVisibleStateMessage() less frequently" into ub-launcher3-rvc-dev 2020-05-04 23:18:04 +00:00
TreeHugger Robot 7bb915ba8e Merge "Remove unnecessary waitForIdle calls" into ub-launcher3-rvc-dev 2020-05-04 22:44:21 +00:00
vadimt faf4da386d Speeding up TAPL by calling getVisibleStateMessage() less frequently
The information in the message can be derived from the object dump
printed anyways.

Change-Id: I22ee136568b767c3218eaabc3920c77b3ceaa78f
2020-05-04 15:40:47 -07:00
vadimt 357e5499a2 Remove unnecessary waitForIdle calls
They were added back in times when the
code was very different, and we don't need them now.

Change-Id: Ie96b081a4f2319c7b58d22ffc410f74e9ab56d94
2020-05-04 18:57:52 +00:00
vadimt 55495201e0 Avoiding cascading "nested events checking" failure after timed-out wait
Bug: 155656943
Change-Id: I0f11552349a9f6b3b14bd1bebb37904d5dfa9c55
2020-05-04 10:52:08 -07:00
vadimt 9fd3a943ba Don't do full anomaly check after every gesture
This call is relatively expensive. Perform only cheap launcher crash
test, and do anomaly only if there are problems.

Change-Id: If45567bcedf8d177970739e9de95cbb29add744c
2020-04-30 19:31:21 -07:00
TreeHugger Robot dfd8c4806f Merge "More logging for LogEventChecker appearing to skip events" into ub-launcher3-rvc-dev 2020-04-30 20:24:21 +00:00
vadimt 232737c854 More logging for LogEventChecker appearing to skip events
Bug: 155347466
Change-Id: I6598bcf36c1f7ae76e9bb6b2eccefbd00899de2e
2020-04-30 10:19:10 -07:00
vadimt a1f0a10662 Removing tracking activity start/stop events
They were not especially useful in investigations; besides, these events
can be sent by the system asynchronously for actions that happened
before entering TAPL, causing flakes.

Change-Id: I72b5aad5521c6c0969f5b657b3db3e4d855f1d64
2020-04-29 14:23:53 -07:00
Santiago Etchebehere 010ebfb0b2 Merging from ub-launcher3-rvc-dev @ build 6436292 am: 82902c0da6 am: afdae84544 am: 0b2e2aec60 am: 731943e045
Change-Id: Ia4f765487ec506a0c11bd940f8268d828a95661b
2020-04-29 06:51:45 +00:00
TreeHugger Robot d4066f5876 Merge "Support for counting activity creations" into ub-launcher3-rvc-dev 2020-04-28 23:26:37 +00:00
Santiago Etchebehere 82902c0da6 Merging from ub-launcher3-rvc-dev @ build 6436292
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6436292.html

Change-Id: I28d6ec42b7a6a8e779abb306cc29c9801910206f
2020-04-27 22:40:31 -07:00
vadimt 2e6fdd7d93 Optimization: reducing number of getNavigationModeMismatchError calls
They are relatively expensive

Change-Id: I34de56884ec3f88e69c709026d3b72e62c787681
2020-04-27 13:08:50 -07:00
vadimt 921f9fd254 Support for counting activity creations
Bug: 139137636
Change-Id: Ib999fd3c82eb2997662578ec35e1d9e1e75e3cbb
2020-04-27 12:41:26 -07:00
vadimt 0703464556 Checking that there are no more than 2 live activities at any moment
This is tightening the makeshift strictmode criteria.

Starting with this moment, we will know that there is
no memory growth during tests execution, which is a big deal.

Big: 139137636

Change-Id: I5edc84524463bd1736d727496ad0fc031bb9624c
2020-04-23 16:35:09 +00:00
TreeHugger Robot d73d39b45a Merge "Makeshift analog of Strictmode leak detector" into ub-launcher3-rvc-dev 2020-04-23 03:22:31 +00:00
vadimt b3e8ae8230 Makeshift analog of Strictmode leak detector
Strictmode leak detector is still a goal, but we might not be able to
achieve it in R. Strictmode has several framework-side bugs that perhaps
hide Launcher-side strictmode violations, while the time to fix
everything is limited, and new leaks get introduced all the time.

For now, implementing a check that is slightly more relaxed than
Strictmode, but still ensures the absence of leaks. I’ll keep
eliminating Strictmode violations as well as keep strengthening the
makeshift checker conditions until we’ll be able to enable Strictmode in
continuous testing.

I’m disabling Strictmode checks for now so that they don’t generate
unnecessary hprof dumps, but leaving the code dealing with strictmode.

Bug: 139137636
Change-Id: Ib10136b0d4e9892f70a19cd052ae5a54cf0a4efb
2020-04-22 19:00:12 -07:00
Govinda Wasserman 70c451656c Merging from ub-launcher3-rvc-dev @ build 6418896 am: df280add9e am: 3aa30d3d33 am: d69b63289b am: faf0d494e4
Change-Id: I58bc9692fe66b4461aa67eec532ca93a4d0a1726
2020-04-23 00:17:07 +00:00
Govinda Wasserman df280add9e Merging from ub-launcher3-rvc-dev @ build 6418896
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6418896.html

Change-Id: I9ce7f3e6a95d278509fe18b36c84d871a76066f1
2020-04-22 15:35:47 +00:00
Sunny Goyal 34ff8cb3c1 Adding common code for instrumentation and robolectric tests
Change-Id: Ia338f0565868bb174ef5f6721924944792866be6
2020-04-20 14:42:30 -07:00
TreeHugger Robot 11e36db88a Merge "Cleanup code related to ag/11035582" into ub-launcher3-rvc-dev 2020-04-16 22:04:45 +00:00
Hyunyoung Song 88121f0d1f Merge "Merging from ub-launcher3-rvc-dev @ build 6396980" into rvc-dev am: ce6f43f0df am: 2e9cdc6e40 am: f100a96813 am: 326667e069
Change-Id: I6404160b5243848ab73a93ecc3e84d549f0385a1
2020-04-16 22:04:04 +00:00
TreeHugger Robot 64abef8ca1 Merge "Choosing better points to output "start" events for TAPL" into ub-launcher3-rvc-dev 2020-04-16 21:58:47 +00:00