Merge "Expose BlobStoreManager.waitForIdle() as @TestApi." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b09e2c9584
@@ -22,6 +22,7 @@ import android.annotation.IdRes;
|
||||
import android.annotation.IntRange;
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.SystemService;
|
||||
import android.annotation.TestApi;
|
||||
import android.content.Context;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
import android.os.ParcelableException;
|
||||
@@ -480,6 +481,7 @@ public class BlobStoreManager {
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@TestApi
|
||||
public void waitForIdle(long timeoutMillis) throws InterruptedException, TimeoutException {
|
||||
try {
|
||||
final CountDownLatch countDownLatch = new CountDownLatch(1);
|
||||
|
||||
@@ -590,6 +590,14 @@ package android.app.backup {
|
||||
|
||||
}
|
||||
|
||||
package android.app.blob {
|
||||
|
||||
public class BlobStoreManager {
|
||||
method public void waitForIdle(long) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.app.prediction {
|
||||
|
||||
public final class AppPredictionContext implements android.os.Parcelable {
|
||||
|
||||
Reference in New Issue
Block a user