summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2016-02-19 09:05:04 -0800
committerSvet Ganov <svetoslavganov@google.com>2016-02-19 09:11:39 -0800
commit96db26032e87c0b5c0f150c1a8541baaad2ea9bb (patch)
tree82ec17477dc2e8be251534f36041376a036a31f6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3dbcd203c57e9845582b59d9d5914bd6df7d2e1f (diff)
Don't hold a lock while reading shared preferences from disk.
Shared prefrences loads thir content from disk on a separate thread to improve performance, however it holds the lock the whole time while reading from disk which as a result blocks operations that don't rely on reading data from being performed intil load completes, e.g. reguistering a prefernces change listener does not depend on having the data loaded. bug:5254577 Change-Id: I5ad67b285631c34d5aadac7138ba8bfaa728cf94
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions