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

Commit a38f760a authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Remove Log.wtf

Test: NotificationLockscreenUserManagerTest
Bug: 286230167
Change-Id: Ia9b4a4a38660271204ffdf53edb8af7f35749898
parent 06a1dce1
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -530,16 +530,12 @@ public class NotificationLockscreenUserManagerImpl implements
                userHandle = mCurrentUserId;
            }
            if (mUsersUsersAllowingPrivateNotifications.indexOfKey(userHandle) < 0) {
                // TODO(b/301955929): STOP_SHIP (stop flag flip): remove this read and use a safe
                // default value before moving to 'released'
                Log.wtf(TAG, "Asking for redact notifs setting too early", new Throwable());
                updateUserShowPrivateSettings(userHandle);
                Log.i(TAG, "Asking for redact notifs setting too early", new Throwable());
                return false;
            }
            if (mUsersDpcAllowingPrivateNotifications.indexOfKey(userHandle) < 0) {
                // TODO(b/301955929): STOP_SHIP (stop flag flip): remove this read and use a safe
                // default value before moving to 'released'
                Log.wtf(TAG, "Asking for redact notifs dpm override too early", new Throwable());
                updateDpcSettings(userHandle);
                Log.i(TAG, "Asking for redact notifs dpm override too early", new Throwable());
                return false;
            }
            return mUsersUsersAllowingPrivateNotifications.get(userHandle)
                    && mUsersDpcAllowingPrivateNotifications.get(userHandle);