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

Commit cbb00109 authored by Julia Reynolds's avatar Julia Reynolds Committed by Android (Google) Code Review
Browse files

Merge "Remove Log.wtf" into main

parents 4848b856 a38f760a
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);