commit | 187187a31441e44c29d13c1a04c932abc420b709 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Sat Mar 26 01:08:07 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon May 16 21:11:22 2022 +0000 |
tree | 712617f253b08d0bd6b68ba52a5e8e32890cd2cc | |
parent | c7077ead8f42e807226e96870f97222f6c967a91 [diff] |
Log to EventLog on prepareUserStorage failure Bug: 224585613 Change-Id: Id6dfb4f4c48d5cf4e71f54bdb6d0d6eea527caf5 Merged-In: Id6dfb4f4c48d5cf4e71f54bdb6d0d6eea527caf5 (cherry picked from commit 7d4ab9b698a83f131585f25662ac9211302a3400) Merged-In: Id6dfb4f4c48d5cf4e71f54bdb6d0d6eea527caf5
diff --git a/services/core/java/com/android/server/StorageManagerService.java b/services/core/java/com/android/server/StorageManagerService.java index e5841f9..6fc01bd 100644 --- a/services/core/java/com/android/server/StorageManagerService.java +++ b/services/core/java/com/android/server/StorageManagerService.java
@@ -128,6 +128,7 @@ import android.util.ArraySet; import android.util.AtomicFile; import android.util.DataUnit; +import android.util.EventLog; import android.util.Log; import android.util.Pair; import android.util.Slog; @@ -3401,6 +3402,7 @@ } } } catch (Exception e) { + EventLog.writeEvent(0x534e4554, "224585613", -1, ""); Slog.wtf(TAG, e); // Make sure to re-throw this exception; we must not ignore failure // to prepare the user storage as it could indicate that encryption