[RESTRICT AUTOMERGE] Log to EventLog on prepareUserStorage failure am: 0762961674
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17452194 Change-Id: I534bf5bd4ab88aee8afb8d1bc8f6ab732e966e86 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -132,6 +132,7 @@ import android.util.ArrayMap;
|
||||
import android.util.ArraySet;
|
||||
import android.util.AtomicFile;
|
||||
import android.util.DataUnit;
|
||||
import android.util.EventLog;
|
||||
import android.util.FeatureFlagUtils;
|
||||
import android.util.Log;
|
||||
import android.util.Pair;
|
||||
@@ -3390,6 +3391,7 @@ class StorageManagerService extends IStorageManager.Stub
|
||||
}
|
||||
}
|
||||
} 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
|
||||
|
||||
Reference in New Issue
Block a user