summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/java/android/service/storage/ExternalStorageService.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/java/android/service/storage/ExternalStorageService.java b/core/java/android/service/storage/ExternalStorageService.java
index bbe184bd1a8c..da1f457df5d9 100644
--- a/core/java/android/service/storage/ExternalStorageService.java
+++ b/core/java/android/service/storage/ExternalStorageService.java
@@ -173,8 +173,13 @@ public abstract class ExternalStorageService extends Service {
* Called when {@code packageName} is about to ANR. The {@link ExternalStorageService} can
* show a progress dialog for the {@code reason}.
*
+ * @param packageName the package name of the ANR'ing app
+ * @param uid the uid of the ANR'ing app
+ * @param tid the tid of the ANR'ing app
+ * @param reason the reason the app is ANR'ing
*/
- public void onAnrDelayStarted(@NonNull String packageName, int uid, int tid, int reason) {
+ public void onAnrDelayStarted(@NonNull String packageName, int uid, int tid,
+ @StorageManager.AppIoBlockedReason int reason) {
throw new UnsupportedOperationException("onAnrDelayStarted not implemented");
}