commit | aaa1f375bc9d6a6a175819fac34d39202f69a166 | [log] [tgz] |
---|---|---|
author | Ben Murdoch <benm@google.com> | Mon Jul 25 15:40:58 2011 +0100 |
committer | Ben Murdoch <benm@google.com> | Mon Jul 25 16:22:08 2011 +0100 |
tree | 14a9c33f089cbc757778146b90840c1ede48d56c | |
parent | 1b4193001e845711376b2c0406fab6898f4660c6 [diff] |
Cache the factory reset URL. Hitting the browser provider for the factory reset url is one of our most common strict mode violations, and triggers sqlite disk io. So now read it once in a background thread and cache it for future accesses. Needed to make the requireInitialization() function static, so we now wait/notify on BrowserSettings.class rather than the instance. Bug:5072979 Change-Id: I78550965887e32b4f8ad0eaf0013753e63d6f602