[UTC][notification][Non-ACR][Fix utc fail - Distinguish mobile and wearable]
authorseungha.son <seungha.son@samsung.com>
Tue, 29 Nov 2016 08:27:38 +0000 (17:27 +0900)
committerseungha.son <seungha.son@samsung.com>
Tue, 29 Nov 2016 11:54:43 +0000 (20:54 +0900)
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Id0a35bdb7df538530bc9e5a0d115b145940c0e7d

src/utc/notification/utc-notification.c

index 910ef3c..31e1ca3 100755 (executable)
@@ -3842,10 +3842,16 @@ int utc_notification_get_display_applist_2_p(void)
 {
        int ret = 0;
        int value = 0;
+#ifdef MOBILE
        int compare_value = NOTIFICATION_DISPLAY_APP_NOTIFICATION_TRAY | NOTIFICATION_DISPLAY_APP_INDICATOR | NOTIFICATION_DISPLAY_APP_LOCK;
+#endif
+#ifdef WEARABLE
+       int compare_value = NOTIFICATION_DISPLAY_APP_ALL;
+#endif
        notification_h notification = NULL;
 
        /*
+        * Profile - mobile
         * Change the comparison parameter from "NOTIFICATION_DISPLAY_APP_ALL"
         * to "NOTIFICATION_DISPLAY_APP_NOTIFICATION_TRAY |
         * NOTIFICATION_DISPLAY_APP_INDICATOR | NOTIFICATION_DISPLAY_APP_LOCK".