plugins
plugins copied to clipboard
[tizen_notification] Notifications not showing on some physical wearable devices
There are some differences in the wnoti-service
log between when a notification is generated through the tizen_notification plugin and by the system(messenger and email).
When the Notifcation API is used, the request is processed by wnoti-tizen-public-notification-manager.c
:
W/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_public_notification_changed_cb(1533) > [#1] priv_id : 1462, op_type : 3 //insert: 1, update: 2, delete: 3
W/wnoti-service( 2808): wnoti-db-utility.c: lock_pm(458) > lock_pm status: 2
E/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_get_native_application_info(151) > _query_step failed()
W/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_process_public_delete_op(1481) > error_code from _wnoti_get_native_application_info: -1
W/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_process_public_delete_op(1496) > Free temp_info->sequence_number : 1462
W/wnoti-service( 2808): wnoti-db-utility.c: unlock_pm(474) > pm_lock status: 0
W/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_public_notification_changed_cb(1533) > [#1] priv_id : 1463, op_type : 1 //insert: 1, update: 2, delete: 3
W/wnoti-service( 2808): wnoti-db-utility.c: lock_pm(458) > lock_pm status: 2
W/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_process_public_insert_op(1450) > category: 100000, panel_id: (null)
I/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_adjust_feedback_for_DND(599) > notification_get_extension_data failed with -22
W/wnoti-service( 2808): wnoti-tizen-public-notification-converter.c: wnoti_convert_public_noti_actions(213) > tizen_action_total_count: 0
W/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_set_public_noti_info(1029) > Failed to get metadata_value, ret : -2
E/wnoti-service( 2808): wnoti-db-server.c: wnoti_update_panel(2653) > id : -1025, source : 1
W/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_insert_notification(1078) > wearing_status : 2, always_wear : 0, block_app_disable : 0, consider_noti_onoff: 0, flag_option: 0
W/wnoti-service( 2808): wnoti-tizen-public-notification-manager.c: _wnoti_insert_notification(1109) > Append g_wnoti_cached_notification_list with sequence_number: 1463
W/wnoti-service( 2808): wnoti-db-utility.c: unlock_pm(474) > pm_lock status: 0
Messenger and email notifications are processed by wnoti-sap-client.c
:
W/wnoti-service( 2808): wnoti-consumer.c: wnoti_on_receive(497) > noti(21491), handle(21491) payloadLength(399)
W/wnoti-service( 2808): wnoti-sap-client.c: _wnoti_set_noti_type(2455) > notification_type[5] noti_info->type[5]
W/wnoti-service( 2808): wnoti-sap-client.c: _wnoti_parse_received_msg(2864) > application_id : 218
W/wnoti-service( 2808): wnoti-db-utility.c: lock_pm(458) > lock_pm status: 2
W/wnoti-service( 2808): wnoti-db-server.c: insert_panel_asset(3591) > attr_type: 18, uri: content://notification/2
W/wnoti-service( 2808): wnoti-json-parser.c: wnoti_parse_android_wear_action(202) > attr_type: 0, background_uri: content://notification/1
W/wnoti-service( 2808): wnoti-sap-client.c: _wnoti_set_android_wearable_attribute(975) > ATTR_ANDROID_WEARABLE, attr_len: 71
W/wnoti-service( 2808): wnoti-sap-client.c: _wnoti_set_android_category_attribute(1216) > ATTR_ANDROID_CATEGORY: [msg]
W/wnoti-service( 2808): wnoti-db-server.c: wnoti_check_image_assets(3865) > uri: content://notification/2
W/wnoti-service( 2808): wnoti-db-server.c: wnoti_check_image_assets(3865) > uri: content://notification/1
E/wnoti-service( 2808): wnoti-utility.c: wnoti_check_bg_image_size(1122) > Smaller than minimum size. src_w [72] src_h [72]
W/wnoti-service( 2808): wnoti-db-server.c: wnoti_check_image_assets(3909) > summary_bg_image: /opt/usr/data/wnoti/.1099.png
...