commit | dc4b80dde458ab43cc2bc8670864532023ddd6f2 | [log] [tgz] |
---|---|---|
author | Suprabh Shukla <suprabh@google.com> | Wed Apr 20 15:24:31 2016 -0700 |
committer | Suprabh Shukla <suprabh@google.com> | Wed Apr 20 15:27:42 2016 -0700 |
tree | 1aced8da004a7574f4759b37e55dc493290bce6f | |
parent | dd67b0d52521bb828bc31732fe3ac8b786a19cce [diff] |
Removing disk access from startActivity thread Code was checking whether the directory for recent_images existed in many places unnecessarily causing StrictMode violations. Moved the code to only attempt to check and create the directory before actually writing to disk. Bug: b/28195831 Change-Id: I05f77a10f1dafc8cc0b1836b62352d56549ac1ee