Prevent staging multiple sessions on devices not supporting checkpoint am: 8c7142a658
Change-Id: I42c180ae216777624b4ad204466f0f64fccecbb9
This commit is contained in:
committed by
Automerger Merge Worker
commit
aa0cebd8a4
@@ -2304,6 +2304,19 @@ public class StorageManager {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check whether the device supports filesystem checkpoint.
|
||||
*
|
||||
* @return true if the device supports filesystem checkpoint, false otherwise.
|
||||
*/
|
||||
public boolean isCheckpointSupported() {
|
||||
try {
|
||||
return mStorageManager.supportsCheckpoint();
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
}
|
||||
|
||||
private final Object mFuseAppLoopLock = new Object();
|
||||
|
||||
@GuardedBy("mFuseAppLoopLock")
|
||||
|
||||
Reference in New Issue
Block a user