diff --git a/QKSMS/src/main/java/com/moez/QKSMS/transaction/NotificationManager.java b/QKSMS/src/main/java/com/moez/QKSMS/transaction/NotificationManager.java index a6a64dac..d1d0bedf 100644 --- a/QKSMS/src/main/java/com/moez/QKSMS/transaction/NotificationManager.java +++ b/QKSMS/src/main/java/com/moez/QKSMS/transaction/NotificationManager.java @@ -23,19 +23,21 @@ import android.provider.Telephony; import android.support.v4.app.NotificationCompat; import android.text.Html; import android.util.Log; + import com.android.mms.transaction.TransactionService; import com.android.mms.transaction.TransactionState; import com.google.android.mms.pdu_alt.PduHeaders; import com.moez.QKSMS.R; +import com.moez.QKSMS.common.ConversationPrefsHelper; +import com.moez.QKSMS.common.utils.ImageUtils; import com.moez.QKSMS.data.Contact; import com.moez.QKSMS.data.ContactHelper; import com.moez.QKSMS.data.Message; import com.moez.QKSMS.model.ImageModel; import com.moez.QKSMS.model.SlideshowModel; import com.moez.QKSMS.receiver.WearableIntentReceiver; -import com.moez.QKSMS.common.ConversationPrefsHelper; -import com.moez.QKSMS.common.utils.ImageUtils; import com.moez.QKSMS.ui.MainActivity; +import com.moez.QKSMS.ui.ThemeManager; import com.moez.QKSMS.ui.messagelist.MessageItem; import com.moez.QKSMS.ui.popup.QKComposeActivity; import com.moez.QKSMS.ui.popup.QKReplyActivity; @@ -156,7 +158,7 @@ public class NotificationManager { // If this message is in the foreground, mark it as read Message message = new Message(context, lastMessage.mMsgId); - if (message.getThreadId() ==MainActivity.sThreadShowing) { + if (message.getThreadId() == MainActivity.sThreadShowing) { message.markRead(); return; } @@ -391,7 +393,7 @@ public class NotificationManager { * Dismisses all old notifications. The purpose of this is to clear notifications that don't need to show up, * without making the remaining ones dissapear and pop up again like how NotificationMangager.cancelAll and then * rebuilding them would do - *
+ *
* This should stay private, because it assumes that the preferences have already been initialized
*/
private static void dismissOld(Context context, HashMap