summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.h
diff options
context:
space:
mode:
author Brad Fitzpatrick <bradfitz@android.com> 2010-08-24 11:46:47 -0700
committer Brad Fitzpatrick <bradfitz@android.com> 2010-08-24 11:47:19 -0700
commit97461bd25c3821f3fb6af9705f0612259c6b4492 (patch)
treefa090d0495b22759bc751f0f9ef6061bc9e9a0cd /libs/hwui/ProgramCache.h
parent2703a42d16af0e62da1bba02b6c935d98debf936 (diff)
Some StrictMode API changes.
* rename setThreadBlockingPolicy to setThreadPolicy (opens the way to using StrictMode for non-blocking-related things in the future?) * add allowThreadDiskWrites() and allowThreadDiskReads() to modify the current policy mask and return the old one. this will allow turning off part of StrictMode during certain regions of code. (for instance, writing to disk in Activity onPause...) Change-Id: Ia1878153713f79299971fdab567fa15b3cb9d56c
Diffstat (limited to 'libs/hwui/ProgramCache.h')
0 files changed, 0 insertions, 0 deletions