Update to 7.5.0 (2246)

This commit is contained in:
DrKLO 2021-02-25 19:58:14 +03:00
parent c44841a55b
commit e1c101c334
17 changed files with 178 additions and 89 deletions

View file

@ -104,6 +104,8 @@ public class NotificationsController extends BaseController {
private int lastBadgeCount = -1;
private String launcherClassName;
public long lastNotificationChannelCreateTime;
private Boolean groupsCreated;
public static long globalSecretChatId = -(1L << 32);
@ -3169,6 +3171,7 @@ public class NotificationsController extends BaseController {
if (BuildVars.LOGS_ENABLED) {
FileLog.d("create new channel " + channelId);
}
lastNotificationChannelCreateTime = SystemClock.elapsedRealtime();
systemNotificationManager.createNotificationChannel(notificationChannel);
preferences.edit().putString(key, channelId).putString(key + "_s", newSettingsHash).commit();
}