EINA_LIST_FOREACH(s_list, l, item) {
for (i = 0 ; i < ATW_SLOTS_MAX_COUNT ; i++) {
- if (!item->slot[i].appid || !strcmp(item->slot[i].appid, "empty")) {
+ if (IS_STRING_EMPTY(item->slot[i].appid)
+ || !strcmp(item->slot[i].appid, "empty")) {
continue;
}
if (!strcmp(item->slot[i].pkgid, package)) {
EINA_LIST_FOREACH(s_list, l, item) {
for(i = 0 ; i < ATW_SLOTS_MAX_COUNT ; i++) {
- if (!strcmp(item->slot[i].appid, appid)) {
+ if (!IS_STRING_EMPTY(item->slot[i].appid)
+ && !strcmp(item->slot[i].appid, appid)) {
item->slot[i].badge_count = count;
_update_slot_ly_badge(&item->slot[i]);
_update_slot_access_object_info(&item->slot[i]);
int i;
for (i = 0; i < ATW_SLOTS_MAX_COUNT; i++) {
- if (!IS_STRING_EMPTY(item->slot[i].appid) && strcmp(item->slot[i].appid, "empty")) {
+ if (!IS_STRING_EMPTY(item->slot[i].appid)
+ && strcmp(item->slot[i].appid, "empty")) {
ret = 0;
app_info = NULL;
label = NULL;
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<manifest xmlns="http://tizen.org/ns/packages" api-version="4.0" package="org.tizen.apptray-widget" version="1.0.0">
<profile name="wearable"/>
- <widget-application appid="org.tizen.apptray-widget" exec="apptray-widget" hw-acceleration="on" main="true" update-period="0">
+ <widget-application appid="org.tizen.apptray-widget" exec="apptray-widget" hw-acceleration="on" main="true" setup-appid="org.tizen.apptray-widget-app" update-period="0">
<label>App shortcuts</label>
<label xml:lang="ar-ae">اختصارات التطبيقات</label>
<label xml:lang="az-az">Proqrm qısayl</label>