We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In SDLOnLockScreenStatus, there is a copy-paste error which prevents the getter for hmiLevel from working properly:
hmiLevel
- (SDLHMILevel *)hmiLevel { NSObject* obj = [parameters objectForKey:@"hmilevel"]; if ([obj isKindOfClass:SDLLockScreenStatus.class]) { return (SDLHMILevel *)obj; } else { return [SDLHMILevel valueOf:(NSString*)obj]; } }
The if statement in the getter looks for objects of the SDLLockScreenStatus type rather than SDLHMILevel as it should.
if ([obj isKindOfClass:SDLLockScreenStatus.class]) {
Should be:
if ([obj isKindOfClass:SDLHMILevel.class]) {
The text was updated successfully, but these errors were encountered:
Fix SDLOnLockScreenStatus hmiLevel checking wrong class type
54660e0
Fixes #83
No branches or pull requests
In SDLOnLockScreenStatus, there is a copy-paste error which prevents the getter for
hmiLevel
from working properly:The if statement in the getter looks for objects of the SDLLockScreenStatus type rather than SDLHMILevel as it should.
Should be:
The text was updated successfully, but these errors were encountered: