mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Do not crash when backup process encounters an unexpected security exception.
This commit is contained in:
@@ -206,6 +206,8 @@ public final class LocalBackupJobApi29 extends BaseJob {
|
||||
} catch (IOException e) {
|
||||
attempts++;
|
||||
Log.w(TAG, "Unable to find backup file, attempt: " + attempts + "/" + MAX_STORAGE_ATTEMPTS);
|
||||
} catch (SecurityException e) {
|
||||
Log.w(TAG, "Getting security exception when attempting to read file, aborting", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user