fix free crash
This commit is contained in:
parent
772a5db283
commit
ae696e61b3
1 changed files with 6 additions and 1 deletions
|
|
@ -461,7 +461,12 @@ public class RecordingActivity extends AppCompatActivity {
|
|||
}
|
||||
|
||||
void setState(String s) {
|
||||
long free = Storage.getFree(storage.getTempRecording());
|
||||
long free = 0;
|
||||
|
||||
try {
|
||||
free = Storage.getFree(storage.getTempRecording());
|
||||
} catch (RuntimeException e) { // IllegalArgumentException
|
||||
}
|
||||
|
||||
final SharedPreferences shared = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue