Skip to content

Commit a6b38b3

Browse files
committed
Correct conditional logic
1 parent a9cca62 commit a6b38b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

android/sdl_android/src/main/java/com/smartdevicelink/managers/lockscreen/LockScreenManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public void onNotified(RPCNotification notification) {
203203
driverDistStatus = DriverDistractionState.DD_ON.equals(ddState.getState());
204204
mLockscreenWarningMsg = ddState.getLockscreenWarningMessage();
205205
boolean previousDismissibleState = isLockscreenDismissible;
206-
if(ddState.getLockscreenDismissibility() == null ) {
206+
if(ddState.getLockscreenDismissibility() != null ) {
207207
isLockscreenDismissible = ddState.getLockscreenDismissibility();
208208
} //If the param is null, we assume it stays as the previous value
209209

0 commit comments

Comments
 (0)