diff options
author | Shubham Ajmera <shubhamajmera@google.com> | 2016-06-28 16:32:02 +0100 |
---|---|---|
committer | Shubham Ajmera <shubhamajmera@google.com> | 2016-06-29 10:59:35 +0100 |
commit | 9b7184a8fd6c940872f1526667dd7933db4bdd5f (patch) | |
tree | 58b3ed4b6ae4c2c5dd346550bb5bd21f43f237db /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | cee6570086985bf1488d24e8feeddb2947abee13 (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());
Bug: 3018772
Change-Id: Ib804a8e9980ae40abfd216f8b87c250fd413bd5c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions