mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-22 06:25:14 +01:00
Update to 7.7.2 (2293)
This commit is contained in:
parent
c4ada53b0d
commit
a5939ccb34
6 changed files with 21 additions and 14 deletions
|
@ -300,7 +300,7 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
defaultConfig.versionCode = 2291
|
||||
defaultConfig.versionCode = 2293
|
||||
|
||||
applicationVariants.all { variant ->
|
||||
variant.outputs.all { output ->
|
||||
|
@ -319,7 +319,7 @@ android {
|
|||
defaultConfig {
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 29
|
||||
versionName "7.7.1"
|
||||
versionName "7.7.2"
|
||||
|
||||
vectorDrawables.generatedDensities = ['mdpi', 'hdpi', 'xhdpi', 'xxhdpi']
|
||||
|
||||
|
|
|
@ -219,7 +219,7 @@ static int writeOggPage(ogg_page *page, FILE *os) {
|
|||
return written;
|
||||
}
|
||||
|
||||
const opus_int32 bitrate = 25000;
|
||||
const opus_int32 bitrate = 30 * 1024;
|
||||
const opus_int32 frame_size = 960;
|
||||
const int with_cvbr = 1;
|
||||
const int max_ogg_delay = 0;
|
||||
|
|
|
@ -18,7 +18,7 @@ public class BuildVars {
|
|||
public static boolean LOGS_ENABLED = false;
|
||||
public static boolean USE_CLOUD_STRINGS = true;
|
||||
public static boolean CHECK_UPDATES = true;
|
||||
public static int BUILD_VERSION = 2291;
|
||||
public static int BUILD_VERSION = 2293;
|
||||
public static String BUILD_VERSION_STRING = "7.7.0";
|
||||
public static int APP_ID = 4;
|
||||
public static String APP_HASH = "014b35b6184100b085b0d0572f9b5103";
|
||||
|
|
|
@ -1214,9 +1214,12 @@ public class LocaleController {
|
|||
}
|
||||
String result = (discount ? "-" : "") + format.format(doubleAmount);
|
||||
int idx = result.indexOf(type);
|
||||
if (idx >= 0 && result.charAt(idx + type.length()) != ' ') {
|
||||
if (idx >= 0) {
|
||||
idx += type.length();
|
||||
if (idx < result.length() && result.charAt(idx + type.length()) != ' ') {
|
||||
result = result.substring(0, idx + type.length()) + " " + result.substring(idx + type.length());
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
return (discount ? "-" : "") + String.format(Locale.US, type + customFormat, doubleAmount);
|
||||
|
|
|
@ -6686,8 +6686,9 @@ public class MessagesStorage extends BaseController {
|
|||
}
|
||||
cursor.dispose();
|
||||
}
|
||||
if (messageIdsToFix != null) { //TODO remove later
|
||||
if (messageIdsToFix != null) {
|
||||
SQLitePreparedStatement state = database.executeFast("UPDATE messages SET mid = ? WHERE mid = ?");
|
||||
try {
|
||||
for (int a = 0, N = messageIdsToFix.size(); a < N; a++) {
|
||||
long id = messageIdsToFix.get(a);
|
||||
state.requery();
|
||||
|
@ -6695,6 +6696,9 @@ public class MessagesStorage extends BaseController {
|
|||
state.bindLong(2, id);
|
||||
state.step();
|
||||
}
|
||||
} catch (Exception e) {
|
||||
FileLog.e(e);
|
||||
}
|
||||
state.dispose();
|
||||
}
|
||||
|
||||
|
|
|
@ -17743,7 +17743,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
|||
CharSequence draftMessage = null;
|
||||
MessageObject replyMessage = null;
|
||||
boolean searchWebpage = true;
|
||||
if (!ignoreAttachOnPause && chatActivityEnterView != null && bottomOverlayChat.getVisibility() != View.VISIBLE) {
|
||||
if (!ignoreAttachOnPause && chatActivityEnterView != null && bottomOverlayChat != null && bottomOverlayChat.getVisibility() != View.VISIBLE) {
|
||||
chatActivityEnterView.onPause();
|
||||
replyMessage = replyingMessageObject;
|
||||
if (!chatActivityEnterView.isEditingMessage()) {
|
||||
|
|
Loading…
Reference in a new issue