commit | c377217d3ebd503fb91c55ac871c981f99ec649c | [log] [tgz] |
---|---|---|
author | zachh <zachh@google.com> | Mon Jan 29 15:35:05 2018 -0800 |
committer | Copybara-Service <copybara-piper@google.com> | Mon Jan 29 20:49:58 2018 -0800 |
tree | d36ab22603eb32f173c5ed6ac8666c4f65b2aeba | |
parent | f27f1bd028abfcac714cf5aed6bbbab8d21077a6 [diff] |
Use application context when fetching shared prefs. Using non-application contexts incurs extra disk access because shared prefs are cached per context. Test: manually ejected sim and observed no strict mode violations PiperOrigin-RevId: 183739285 Change-Id: I9337e226ae1e060478219cf495752ceccf5a31e6