Merge "Catch all exceptions when calling startCheckpoint()." into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ad6195dc40
@@ -261,13 +261,13 @@ public class StagingManager {
|
|||||||
if (storageManager.supportsCheckpoint()) {
|
if (storageManager.supportsCheckpoint()) {
|
||||||
storageManager.startCheckpoint(1 /* numRetries */);
|
storageManager.startCheckpoint(1 /* numRetries */);
|
||||||
}
|
}
|
||||||
} catch (RemoteException e) {
|
} catch (Exception e) { // TODO(b/130190815) make a RemoteException again
|
||||||
// While StorageManager lives in the same process, the native implementation
|
// While StorageManager lives in the same process, the native implementation
|
||||||
// it calls through lives in 'vold'; so, this call can fail if 'vold' isn't
|
// it calls through lives in 'vold'; so, this call can fail if 'vold' isn't
|
||||||
// reachable.
|
// reachable.
|
||||||
// Since we can live without filesystem checkpointing, just warn in this case
|
// Since we can live without filesystem checkpointing, just warn in this case
|
||||||
// and continue.
|
// and continue.
|
||||||
Slog.w(TAG, "Could not start filesystem checkpoint.");
|
Slog.w(TAG, "Could not start filesystem checkpoint:", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
session.setStagedSessionReady();
|
session.setStagedSessionReady();
|
||||||
|
|||||||
Reference in New Issue
Block a user