diff options
author | 2020-01-03 15:27:33 -0800 | |
---|---|---|
committer | 2020-02-09 19:56:29 -0800 | |
commit | 70610fa2153ad198f0d2fe433b54d8083e805939 (patch) | |
tree | 8ad5c258bd3fad6330c2c2ad4b82fbc359640140 /cmds/cmd/cmd.cpp | |
parent | 820f9bc656896fe7c5dbe5a7bb8b5967063468d2 (diff) |
Update timeout logic for connectivity reports.
Typically, BUGREPORT_MODE_TELEPHONY takes single-digit seconds, which
leaves the routine waiting for just USER_CONSENT_TIMEOUT_MS (30 seconds)
for the user to respond. Given the sizeable dialog with lots to read, we
don't believe this is a reasonable default.
We increase the timeout specifically for MODE_TELEPHONY to be 2 minutes,
which should then roughly match the time it takes a full report to be
generated, and plenty of time for the user to fully read the consent
dialog.
Bug: 146521742
Test: manual, ensure timeout happens after 2 minutes instead of 30
seconds
Change-Id: I3a5d9c696470a0dc3cbeb0d84b78ea36a3694fea
Diffstat (limited to 'cmds/cmd/cmd.cpp')
0 files changed, 0 insertions, 0 deletions