Fix wrong code 96/174396/1
authormk5004.lee <mk5004.lee@samsung.com>
Mon, 2 Apr 2018 01:23:54 +0000 (10:23 +0900)
committermk5004.lee <mk5004.lee@samsung.com>
Mon, 2 Apr 2018 01:23:54 +0000 (10:23 +0900)
- value style, is compared with null

Change-Id: I20d3f493b8ee7f0e988a4c26112a8ebffe7dd6d8
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
src/Tizen.Applications.Notification/Tizen.Applications.Notifications/NotificationStyleBinder.cs

index 8b837bc993177c980e40648a961a84952d0e892c..04b8e8011c5ca50d4c74748567d5157b94a6e43b 100755 (executable)
@@ -99,7 +99,7 @@ namespace Tizen.Applications.Notifications
                 }
             }
 
-            ret = Interop.Notification.SetImage(notification.Handle, NotificationImage.Background, style?.BackgroundImage);
+            ret = Interop.Notification.SetImage(notification.Handle, NotificationImage.Background, style.BackgroundImage);
             if (ret != NotificationError.None)
             {
                 throw NotificationErrorFactory.GetException(ret, "unable to set background Image");