OSDN Git Service

Make sure picture sizes are cached on start-up, if they are not already.
authorSascha Haeberling <haeberling@google.com>
Wed, 1 Apr 2015 19:27:54 +0000 (12:27 -0700)
committerSascha Haeberling <haeberling@google.com>
Wed, 1 Apr 2015 19:27:54 +0000 (12:27 -0700)
commit35a69421972d22fcd627ca1702b5f65521ef8f67
tree127a49fa637a214b2e9ed03cb35973113af9e03b
parent7e120c2f0b886ab20c3328d69b61a514219b083a
Make sure picture sizes are cached on start-up, if they are not already.

  Bug: 20015834

We cache picture sizes on disk, keyed by OS build version number. This makes sure
we update this cache if we start the app on an updated OS. Refocus requires these
sizes and loads them from cache.

Change-Id: Ib8aa9a37481b9a6be441122be41ab81917a5bd37
src/com/android/camera/CameraActivity.java