Merge "Destroy both CE and DE data when corrupted." into nyc-dev
This commit is contained in:
@@ -18819,7 +18819,8 @@ Slog.v(TAG, ":: stepped forward, applying functor at tag " + parser.getName());
|
|||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logCriticalInfo(Log.WARN, "Destroying user " + userId + " on volume " + volumeUuid
|
logCriticalInfo(Log.WARN, "Destroying user " + userId + " on volume " + volumeUuid
|
||||||
+ " because we failed to prepare: " + e);
|
+ " because we failed to prepare: " + e);
|
||||||
destroyUserDataLI(volumeUuid, userId, flags);
|
destroyUserDataLI(volumeUuid, userId,
|
||||||
|
StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE);
|
||||||
|
|
||||||
if (allowRecover) {
|
if (allowRecover) {
|
||||||
// Try one last time; if we fail again we're really in trouble
|
// Try one last time; if we fail again we're really in trouble
|
||||||
|
|||||||
Reference in New Issue
Block a user