diff options
author | Jeff Brown <jeffbrown@google.com> | 2013-09-10 16:44:24 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2013-09-10 16:44:24 -0700 |
commit | bd181bb83282571eb793d2e4a48b4d19585de7f2 (patch) | |
tree | 6e47cf17024e47ef936adcb301a4092debbcebcd /services/input/tests | |
parent | 23a5f44c5a306b4a70821722a697da55cc3c5db8 (diff) | |
download | frameworks_base-bd181bb83282571eb793d2e4a48b4d19585de7f2.zip frameworks_base-bd181bb83282571eb793d2e4a48b4d19585de7f2.tar.gz frameworks_base-bd181bb83282571eb793d2e4a48b4d19585de7f2.tar.bz2 |
Propagate input ANR reason to activity manager log.
Make it a little easier to diagnose input dispatch timeouts by
providing the detailed reason as the ANR annotation in the log.
Bug: 10689184
Change-Id: Ie18fd9ad066b0673d1f57c030e027ad0085f4650
Diffstat (limited to 'services/input/tests')
-rw-r--r-- | services/input/tests/InputDispatcher_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/input/tests/InputDispatcher_test.cpp b/services/input/tests/InputDispatcher_test.cpp index ed2b4a5..26b4fab 100644 --- a/services/input/tests/InputDispatcher_test.cpp +++ b/services/input/tests/InputDispatcher_test.cpp @@ -50,7 +50,8 @@ private: } virtual nsecs_t notifyANR(const sp<InputApplicationHandle>& inputApplicationHandle, - const sp<InputWindowHandle>& inputWindowHandle) { + const sp<InputWindowHandle>& inputWindowHandle, + const String8& reason) { return 0; } |