From 495b1bd49835070ca43a523831caee0f70079604 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Wed, 19 Jul 2017 00:28:56 -0700 Subject: Dev - minor updates (#73) * Add lint * Add new libs * Update libs and add friends tab * Aggressively hide nonrecent posts * Update dependencies * Add php to most recents * Add full size image downloader * Fix css cleaner --- .../main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt') diff --git a/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt b/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt index 737b86ab..a24e4778 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/services/FrostNotifications.kt @@ -35,6 +35,8 @@ val Context.frostNotification: NotificationCompat.Builder color = color(R.color.frost_notification_accent) } +@Suppress("DEPRECATION") +//The update feature is for Android O and seems to still be in beta fun Notification.frostConfig() = apply { if (Prefs.notificationVibrate) defaults = defaults or Notification.DEFAULT_VIBRATE if (Prefs.notificationSound) defaults = defaults or Notification.DEFAULT_SOUND -- cgit v1.2.3