summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorShubham Ajmera <shubhamajmera@google.com>2016-09-29 16:35:36 +0100
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>2016-09-29 16:36:12 +0100
commitc95b2c85f3101e686c08d0f0e117088a524894c7 (patch)
treeacd54066fff864dde4f875ba12dcd0aa9cc00c03 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentb60951f670e5e6d271786f9d0041091b5c16173d (diff)
Add new StrictMode thread policy - DETECT_UNBUFFERED_IO
This will enable the developers to check if they could replace an unbuffered I/O operation with a corresponding buffered I/O operation. The policy can be set as follow: StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder() .detectUnbufferedIO().build()); Test: vogar BlockGuardTest Bug: 3018772 Change-Id: Ib804a8e9980ae40abfd216f8b87c250fd413bd5c (cherry picked from commit 9b7184a8fd6c940872f1526667dd7933db4bdd5f)w
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions