mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-05-05 15:41:02 +00:00
Broadcasts, updated gif lib, blur image\video preview
Note: untested, don’t upload to market
This commit is contained in:
parent
e5cb3685a0
commit
91ae97e257
93 changed files with 1479 additions and 820 deletions
|
|
@ -400,7 +400,7 @@ public class NotificationsController {
|
|||
}
|
||||
|
||||
if (photoPath != null) {
|
||||
Bitmap img = FileLoader.getInstance().getImageFromMemory(photoPath, null, null, "50_50", false);
|
||||
Bitmap img = FileLoader.getInstance().getImageFromMemory(photoPath, null, null, "50_50");
|
||||
if (img != null) {
|
||||
mBuilder.setLargeIcon(img);
|
||||
}
|
||||
|
|
@ -536,7 +536,7 @@ public class NotificationsController {
|
|||
|
||||
Boolean value = settingsCache.get(dialog_id);
|
||||
boolean isChat = (int)dialog_id < 0;
|
||||
popup = preferences.getInt(isChat ? "popupGroup" : "popupAll", 0);
|
||||
popup = (int)dialog_id == 0 ? 0 : preferences.getInt(isChat ? "popupGroup" : "popupAll", 0);
|
||||
if (value == null) {
|
||||
int notify_override = preferences.getInt("notify2_" + dialog_id, 0);
|
||||
value = !(notify_override == 2 || (!preferences.getBoolean("EnableAll", true) || isChat && !preferences.getBoolean("EnableGroup", true)) && notify_override == 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue