commit | c4bab9843ab936f9a9f134e2088a5bd891eb55c2 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Mon Feb 01 10:16:01 2016 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Mon Feb 01 10:17:57 2016 -0700 |
tree | 9f9c6bd783a953490c68535a400216fde536f5a6 | |
parent | e6cb0974b3465852702e3132b0f0503690a435d2 [diff] |
Only create custom database paths. If the getDatabasePath() caller is using the default getDatabasesDir() path, that method already handles possible path creation, so no need for us to retry. Also fix two small bugs that would have NPE'ed when listing files in a directory that wasn't created. Bug: 26895777 Change-Id: Iced16b05cfe95062717da8d0414c48daefcb5648