diff options
author | vadimt <vadimt@google.com> | 2019-05-21 17:19:23 -0700 |
---|---|---|
committer | vadimt <vadimt@google.com> | 2019-05-21 17:19:23 -0700 |
commit | e17d1feb791a383c5c12f1da02055b07eb832f02 (patch) | |
tree | 69c583e20e1b239f0f9654f93f424d663dca1b75 /quickstep | |
parent | a1a417c99445e7590983b267eff41113a1775808 (diff) | |
download | android_packages_apps_Trebuchet-e17d1feb791a383c5c12f1da02055b07eb832f02.tar.gz android_packages_apps_Trebuchet-e17d1feb791a383c5c12f1da02055b07eb832f02.tar.bz2 android_packages_apps_Trebuchet-e17d1feb791a383c5c12f1da02055b07eb832f02.zip |
Adding tracing for a lab-only flake
We had a resolved case in the past where an app's context menu didn't
open on a long click (thanks to app updates), now the menu opens, but
the drag gesture doesn't drag the icon.
Bug: 133009122
Change-Id: I45d104a92fab6556ecd937aef76f0a8147e67f56
Diffstat (limited to 'quickstep')
-rw-r--r-- | quickstep/src/com/android/quickstep/TestInformationProvider.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/quickstep/src/com/android/quickstep/TestInformationProvider.java b/quickstep/src/com/android/quickstep/TestInformationProvider.java index b37ddda09..a948570d2 100644 --- a/quickstep/src/com/android/quickstep/TestInformationProvider.java +++ b/quickstep/src/com/android/quickstep/TestInformationProvider.java @@ -111,6 +111,14 @@ public class TestInformationProvider extends ContentProvider { response.putInt(TestProtocol.TEST_INFO_RESPONSE_FIELD, (int) distance); break; } + + case TestProtocol.REQUEST_ENABLE_DRAG_LOGGING: + TestProtocol.sDebugTracing = true; + break; + + case TestProtocol.REQUEST_DISABLE_DRAG_LOGGING: + TestProtocol.sDebugTracing = false; + break; } return response; } |