commit | fb302de0d649eae3d86aa842680d69125239502f | [log] [tgz] |
---|---|---|
author | Daniel Nishi <dhnishi@google.com> | Thu Aug 10 14:09:19 2017 -0700 |
committer | Daniel Nishi <dhnishi@google.com> | Tue Sep 05 14:46:14 2017 -0700 |
tree | 03444fda0a64d6d1cd7e581ed52059a58e0e100a | |
parent | d57edb708fcd1e50af1f6833b717bf0bbb53334f [diff] |
Cache storage values for fast loading. If the user moves away from the storage fragment and returns, this allows us to use cached data from the previous calculation. If the data is > 1 minute old, we consider it stale. Otherwise, we can bypass the loading screen. Fixes: 37923463 Test: Settings Robotest Change-Id: I7650d4d742852f8d447878c077b9190bc0a0bb22