summaryrefslogtreecommitdiff
path: root/libs/binder/BufferedTextOutput.cpp
diff options
context:
space:
mode:
author Hunter Knepshield <hknepshield@google.com> 2020-01-03 14:53:04 -0800
committer Hunter Knepshield <hknepshield@google.com> 2020-01-27 23:14:17 +0000
commitf0a3905126e66cd7341b74c34bac1d3c32c1bf50 (patch)
tree125591fbf10d3217371bdf7b335cea154571d563 /libs/binder/BufferedTextOutput.cpp
parentba879c75bd5228872d8f1e9cbde11536a36bc85b (diff)
Fix minor time bug in ConsentCallback::getElapsedTimeMs
Previously, this function was actually returning a value in nanoseconds, which made any comparisons with milliseconds invalid. This in turn caused the dumpstate routine to abort too early for bug reports that finish before the default timeout elapses (e.g. wifi and telephony report modes). Fix: 147153946 Test: manual, ensure that an empty report still waits for 30 seconds (USER_CONSENT_TIMEOUT_MS) before cancelling the consent dialog Change-Id: I2b610d3a32148f706e0b2fc2e330a879795fc8ad
Diffstat (limited to 'libs/binder/BufferedTextOutput.cpp')
0 files changed, 0 insertions, 0 deletions