JIRA TIZENIOT-2014 resolves track count issue in favorite list,
Adds relevant comments for minicontroller sliding event
Change-Id: I1bd1da6e4edf5692180d6a5a7b2de1e209a09f67
Signed-off-by: Jagrat Patidar <j1.patidar@samsung.com>
DEBUG_TRACE("Angle is : %d", angle);
}
if (!event_arg) {
- /* Closing music-player when minicontroller is swiped in quickpanel */
+ /*
+ Music-player need to be closed when user removes the mini-controller notification from quickpanel and
+ we have to use the MINICONTROL_VIEWER_EVENT_REPORT_ANGLE event to close because hide event is also being
+ emitted when quickpanel is closed/swipe up. So to differentiate between quickpanel close and notification remove
+ scenario we have to use the MINICONTROL_VIEWER_EVENT_REPORT_ANGLE with null bundle event_arg so that we close
+ music player on correct scenario.
+ */
_minicontroller_close_music();
}
mp_minicontroller_rotate(ad, angle);
}
mp_evas_object_del(list->no_content);
mp_evas_object_del(list->genlist);
-
-
if (count) {
/*create new genlist */
}
NoContents:
+ if (((MpList_t *) list)->layout) {
+ elm_object_signal_emit(((MpList_t *) list)->layout, "control_hide_signal", "control_hide_source");
+ }
+
elm_object_signal_emit(mp_all_get_tabbar_layout(), "default_signal", "default_source");
list->hide_fastscroll(list);
mp_evas_object_del(list->genlist);