diff options
author | Chia-chi Yeh <chiachi@android.com> | 2010-12-22 14:41:10 +0800 |
---|---|---|
committer | Chia-chi Yeh <chiachi@android.com> | 2010-12-22 17:02:04 +0800 |
commit | 721d2d2a963799fad4bda9bb4b278c24fc469303 (patch) | |
tree | 28676ac38664190e40c592679c6ba396d08b5bb6 /res/values-es-rUS | |
parent | 4e4a01ffea6c4406c06087bf49b444abe114ef9c (diff) | |
download | LegacyCamera-721d2d2a963799fad4bda9bb4b278c24fc469303.zip LegacyCamera-721d2d2a963799fad4bda9bb4b278c24fc469303.tar.gz LegacyCamera-721d2d2a963799fad4bda9bb4b278c24fc469303.tar.bz2 |
Check and create directories in Storage.getAvailableSpace().
Since creating directories and files is not an atomic operation,
there is no way to prevent MediaRecorder.prepare() from throwing
exceptions. Now we let Storage.getAvailableSpace() to create the
directory and then bail out gracefully if it still fails.
Bug: 3304420
Change-Id: I98f1975b90250d63b60b36950e5813528862cc98
Diffstat (limited to 'res/values-es-rUS')
0 files changed, 0 insertions, 0 deletions