We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b019127 commit b2e2cb7Copy full SHA for b2e2cb7
sdl_android_lib/src/com/smartdevicelink/proxy/LockScreenManager.java
@@ -52,7 +52,7 @@ public synchronized OnLockScreenStatus getLockObj(/*int SessionID*/)
52
private synchronized LockScreenStatus getLockScreenStatus()
53
{
54
55
- if ( hmiLevel.equals(HMILevel.HMI_NONE) )
+ if ( (hmiLevel == null) || (hmiLevel.equals(HMILevel.HMI_NONE)) )
56
57
return LockScreenStatus.OFF;
58
}
0 commit comments