summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMatthew Williams <mjwilliams@google.com>2015-06-19 19:03:13 -0700
committerMatthew Williams <mjwilliams@google.com>2015-06-22 14:36:36 -0700
commit1967c8ddd5bb46958b732002d391e4276c0710c4 (patch)
tree058964a9b55701d5f013d7169195f73843aa2270 /tools/aapt2/java/JavaClassGenerator.cpp
parent42376d6482804ac240fc84a75e50e7fae478b744 (diff)
Cancel Syncs that aren't making progress.
BUG: 18266674 1) If a sync has up/downloaded less than 10bytes in 60 seconds it is considered to be making no progress and is summarily cancelled. 2) Apply a 30min hard time-out to initialization syncs. Note that there is little proof that cancelling a sync has an impact. All it results in is a Thread.interrupt on the sync thread, which the adapter must itself implement. To this effect this CL also updates the javadoc to make this clearer, and adds some (unimplemented) threats about killing the hosting process. Change-Id: I83c447648152ccbf76bb1fbd7e9216e01a37952f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions