diff options
Diffstat (limited to 'SmartDeviceLink/SDLOnDriverDistraction.m')
-rw-r--r-- | SmartDeviceLink/SDLOnDriverDistraction.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLOnDriverDistraction.m b/SmartDeviceLink/SDLOnDriverDistraction.m index 91975340b..551ec17fa 100644 --- a/SmartDeviceLink/SDLOnDriverDistraction.m +++ b/SmartDeviceLink/SDLOnDriverDistraction.m @@ -15,11 +15,11 @@ } - (void)setState:(SDLDriverDistractionState)state { - [self setObject:state forName:SDLNameState]; + [parameters sdl_setObject:state forName:SDLNameState]; } - (SDLDriverDistractionState)state { - NSObject *obj = [parameters objectForKey:SDLNameState]; + NSObject *obj = [parameters sdl_objectForName:SDLNameState]; return (SDLDriverDistractionState)obj; } |