public static void restoreReminderPreference ( Context context ) { int hour = MehPreferencesManager . getNotificationPreferenceHour ( context ) ; int minute = MehPreferencesManager . getNotificationPreferenceMinute ( context ) ; scheduleDailyReminder ( context , hour , minute ) ; }
Restore the daily reminder , with the times already in preferences . Useful for device reboot or switched on from the settings screen