diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-07-19 09:21:09 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-07-19 09:21:09 +0000 |
commit | 5a06e5bf88c33c14562cb6cbf0e6fc3cb36b40d0 (patch) | |
tree | c023ae16f4af55feb30a522a07ec5b1a9722358d /app/src/main/java | |
parent | 5f18f7df646ce5d2637b29fca557ca00766682c7 (diff) | |
download | infinity-for-reddit-5a06e5bf88c33c14562cb6cbf0e6fc3cb36b40d0.tar infinity-for-reddit-5a06e5bf88c33c14562cb6cbf0e6fc3cb36b40d0.tar.gz infinity-for-reddit-5a06e5bf88c33c14562cb6cbf0e6fc3cb36b40d0.tar.bz2 infinity-for-reddit-5a06e5bf88c33c14562cb6cbf0e6fc3cb36b40d0.tar.lz infinity-for-reddit-5a06e5bf88c33c14562cb6cbf0e6fc3cb36b40d0.tar.xz infinity-for-reddit-5a06e5bf88c33c14562cb6cbf0e6fc3cb36b40d0.tar.zst infinity-for-reddit-5a06e5bf88c33c14562cb6cbf0e6fc3cb36b40d0.zip |
Remove test notification. Rearrange Interface Settings.
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java b/app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java index ebabe07c..ad25f171 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java @@ -70,13 +70,6 @@ public class PullNotificationWorker extends Worker { try { List<Account> accounts = mRedditDataRoomDatabase.accountDao().getAllAccounts(); int color = mCustomThemeWrapper.getColorPrimaryLightTheme(); - NotificationManagerCompat testManager = NotificationUtils.getNotificationManager(context); - NotificationCompat.Builder test = NotificationUtils.buildNotification(testManager, - context, "Test", "Test body", "Test summary", - NotificationUtils.CHANNEL_ID_NEW_MESSAGES, - NotificationUtils.CHANNEL_NEW_MESSAGES, - NotificationUtils.getAccountGroupName("Test"), color); - testManager.notify(9765, test.build()); for (int accountIndex = 0; accountIndex < accounts.size(); accountIndex++) { Account account = accounts.get(accountIndex); |