natural list sorting (desc date)

This commit is contained in:
danijoo
2016-01-02 23:31:11 +01:00
parent 5906bc2710
commit 4b11515ae8
4 changed files with 4 additions and 8 deletions

View File

@@ -12,8 +12,6 @@ import android.service.notification.StatusBarNotification;
import net.headlezz.notificationlogger.PackageUtils;
import java.util.Date;
import timber.log.Timber;
public class NotificationLoggerService extends NotificationListenerService implements SharedPreferences.OnSharedPreferenceChangeListener {
@@ -69,7 +67,7 @@ public class NotificationLoggerService extends NotificationListenerService imple
int notificationId = sbn.getId();
int userId = sbn.getUserId();
Date date = new Date(sbn.getPostTime());
long date = sbn.getPostTime();
String packageName = sbn.getPackageName();
int iconId = sbn.getNotification().icon;