mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-22 14:35:03 +01:00
update to 9.0.1
This commit is contained in:
parent
abb896635f
commit
11edd5ee0d
7 changed files with 17 additions and 19 deletions
|
@ -72,7 +72,7 @@ android {
|
||||||
coreLibraryDesugaringEnabled true
|
coreLibraryDesugaringEnabled true
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultConfig.versionCode = 2759
|
defaultConfig.versionCode = Integer.parseInt(APP_VERSION_CODE)
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
|
|
|
@ -241,12 +241,9 @@ void TL_config::readParams(NativeByteBuffer *stream, int32_t instanceNum, bool &
|
||||||
if ((flags & 4) != 0) {
|
if ((flags & 4) != 0) {
|
||||||
base_lang_pack_version = stream->readInt32(&error);
|
base_lang_pack_version = stream->readInt32(&error);
|
||||||
}
|
}
|
||||||
if ((flags & 4) != 0) {
|
if ((flags & 32768) != 0) {
|
||||||
base_lang_pack_version = stream->readInt32(&error);
|
reactions_default = std::unique_ptr<Reaction>(Reaction::TLdeserialize(stream, stream->readUint32(&error), instanceNum, error));
|
||||||
}
|
}
|
||||||
// if ((flags & 32768) != 0) {
|
|
||||||
// reactions_default = std::unique_ptr<Reaction>(Reaction::TLdeserialize(stream, stream->readUint32(&error), instanceNum, error));
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void TL_config::serializeToStream(NativeByteBuffer *stream) {
|
void TL_config::serializeToStream(NativeByteBuffer *stream) {
|
||||||
|
|
|
@ -114,9 +114,6 @@ import com.android.internal.telephony.ITelephony;
|
||||||
import com.google.android.gms.auth.api.phone.SmsRetriever;
|
import com.google.android.gms.auth.api.phone.SmsRetriever;
|
||||||
import com.google.android.gms.auth.api.phone.SmsRetrieverClient;
|
import com.google.android.gms.auth.api.phone.SmsRetrieverClient;
|
||||||
import com.google.android.gms.tasks.Task;
|
import com.google.android.gms.tasks.Task;
|
||||||
import com.microsoft.appcenter.AppCenter;
|
|
||||||
import com.microsoft.appcenter.crashes.Crashes;
|
|
||||||
import com.microsoft.appcenter.distribute.Distribute;
|
|
||||||
|
|
||||||
import org.telegram.PhoneFormat.PhoneFormat;
|
import org.telegram.PhoneFormat.PhoneFormat;
|
||||||
import org.telegram.messenger.browser.Browser;
|
import org.telegram.messenger.browser.Browser;
|
||||||
|
|
|
@ -24,10 +24,11 @@ public class BuildVars {
|
||||||
public static boolean USE_CLOUD_STRINGS = true;
|
public static boolean USE_CLOUD_STRINGS = true;
|
||||||
public static boolean CHECK_UPDATES = true;
|
public static boolean CHECK_UPDATES = true;
|
||||||
public static boolean NO_SCOPED_STORAGE = Build.VERSION.SDK_INT <= 29;
|
public static boolean NO_SCOPED_STORAGE = Build.VERSION.SDK_INT <= 29;
|
||||||
public static int BUILD_VERSION = 2799;
|
public static int BUILD_VERSION = 2800;
|
||||||
public static String BUILD_VERSION_STRING = "9.0.0";
|
public static String BUILD_VERSION_STRING = "9.0.1";
|
||||||
public static int APP_ID = 4;
|
public static int APP_ID = 4;
|
||||||
public static String APP_HASH = "014b35b6184100b085b0d0572f9b5103";
|
public static String APP_HASH = "014b35b6184100b085b0d0572f9b5103";
|
||||||
|
public static String APPCENTER_HASH = "f9726602-67c9-48d2-b5d0-4761f1c1a8f3";
|
||||||
|
|
||||||
public static String SMS_HASH = isStandaloneApp() ? "w0lkcmTZkKh" : (DEBUG_VERSION ? "O2P2z+/jBpJ" : "oLeq9AcOZkT");
|
public static String SMS_HASH = isStandaloneApp() ? "w0lkcmTZkKh" : (DEBUG_VERSION ? "O2P2z+/jBpJ" : "oLeq9AcOZkT");
|
||||||
public static String PLAYSTORE_APP_URL = "https://play.google.com/store/apps/details?id=org.telegram.messenger";
|
public static String PLAYSTORE_APP_URL = "https://play.google.com/store/apps/details?id=org.telegram.messenger";
|
||||||
|
|
|
@ -2508,6 +2508,9 @@ public class MediaDataController extends BaseController {
|
||||||
private static long calcStickersHash(ArrayList<TLRPC.TL_messages_stickerSet> sets) {
|
private static long calcStickersHash(ArrayList<TLRPC.TL_messages_stickerSet> sets) {
|
||||||
long acc = 0;
|
long acc = 0;
|
||||||
for (int a = 0; a < sets.size(); a++) {
|
for (int a = 0; a < sets.size(); a++) {
|
||||||
|
if (sets.get(a) == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
TLRPC.StickerSet set = sets.get(a).set;
|
TLRPC.StickerSet set = sets.get(a).set;
|
||||||
if (set.archived) {
|
if (set.archived) {
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -35149,9 +35149,9 @@ public class TLRPC {
|
||||||
if ((flags & 4) != 0) {
|
if ((flags & 4) != 0) {
|
||||||
base_lang_pack_version = stream.readInt32(exception);
|
base_lang_pack_version = stream.readInt32(exception);
|
||||||
}
|
}
|
||||||
// if ((flags & 32768) != 0) {
|
if ((flags & 32768) != 0) {
|
||||||
// reactions_default = Reaction.TLdeserialize(stream, stream.readInt32(exception), exception);
|
reactions_default = Reaction.TLdeserialize(stream, stream.readInt32(exception), exception);
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void serializeToStream(AbstractSerializedData stream) {
|
public void serializeToStream(AbstractSerializedData stream) {
|
||||||
|
@ -35232,9 +35232,9 @@ public class TLRPC {
|
||||||
if ((flags & 4) != 0) {
|
if ((flags & 4) != 0) {
|
||||||
stream.writeInt32(base_lang_pack_version);
|
stream.writeInt32(base_lang_pack_version);
|
||||||
}
|
}
|
||||||
// if ((flags & 32768) != 0) {
|
if ((flags & 32768) != 0) {
|
||||||
// reactions_default.serializeToStream(stream);
|
reactions_default.serializeToStream(stream);
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
||||||
# org.gradle.parallel=true
|
# org.gradle.parallel=true
|
||||||
#Sat Mar 12 05:53:50 MSK 2016
|
#Sat Mar 12 05:53:50 MSK 2016
|
||||||
APP_VERSION_NAME=8.9.2
|
APP_VERSION_NAME=9.0.1
|
||||||
APP_VERSION_CODE=2756
|
APP_VERSION_CODE=2800
|
||||||
APP_PACKAGE=org.telegram.messenger
|
APP_PACKAGE=org.telegram.messenger
|
||||||
RELEASE_KEY_PASSWORD=TelegramAndroidPswd
|
RELEASE_KEY_PASSWORD=TelegramAndroidPswd
|
||||||
RELEASE_KEY_ALIAS=tmessages
|
RELEASE_KEY_ALIAS=tmessages
|
||||||
|
|
Loading…
Reference in a new issue