Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf2043a1 authored by Corina Grigoras's avatar Corina Grigoras
Browse files

Log at debug level when things are OK

StorageManagerService: android.os.ServiceSpecificException is expected if the user has not unlocked the device.

Bug: 151077642
Bug: 174442693
Change-Id: I07b06cd6f7cff4529cba46aa4e3dcf7b0ee8dfa5
Test: No
Merged-In: I027250bcae132d9be9c16690478adb41467bfec4
parent 9f2c1589
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3298,6 +3298,9 @@ class StorageManagerService extends IStorageManager.Stub
            try {
                mVold.unlockUserKey(userId, serialNumber, encodeBytes(token),
                        encodeBytes(secret));
            } catch (ServiceSpecificException sse) {
                Slog.d(TAG, "Expected if the user has not unlocked the device.", sse);
                return;
            } catch (Exception e) {
                Slog.wtf(TAG, e);
                return;