NekoX/TMessagesProj/src/main/java/org/telegram/messenger/BuildVars.java

39 lines
1.6 KiB
Java
Raw Normal View History

/*
2019-01-23 18:03:33 +01:00
* This is the source code of Telegram for Android v. 5.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
2019-01-23 18:03:33 +01:00
* Copyright Nikolai Kudashov, 2013-2018.
*/
package org.telegram.messenger;
2018-07-30 04:07:02 +02:00
import android.content.Context;
import android.content.SharedPreferences;
public class BuildVars {
2018-07-30 04:07:02 +02:00
2014-10-07 22:14:27 +02:00
public static boolean DEBUG_VERSION = false;
2017-03-31 01:58:05 +02:00
public static boolean DEBUG_PRIVATE_VERSION = false;
2018-07-30 04:07:02 +02:00
public static boolean LOGS_ENABLED = false;
2019-01-23 18:03:33 +01:00
public static boolean USE_CLOUD_STRINGS = true;
2019-12-31 14:08:08 +01:00
public static boolean CHECK_UPDATES = true;
public static boolean TON_WALLET_STANDALONE = false;
2020-02-15 19:17:30 +01:00
public static int BUILD_VERSION = 1869;
2020-02-13 19:26:53 +01:00
public static String BUILD_VERSION_STRING = "5.15.0";
2019-12-31 14:08:08 +01:00
public static int APP_ID = 4;
public static String APP_HASH = "014b35b6184100b085b0d0572f9b5103";
public static String HOCKEY_APP_HASH = "a5b5c4f551dadedc9918d9766a22ca7c";
public static String HOCKEY_APP_HASH_DEBUG = "f972660267c948d2b5d04761f1c1a8f3";
//
public static String SMS_HASH = DEBUG_VERSION ? "O2P2z+/jBpJ" : "oLeq9AcOZkT";
public static String PLAYSTORE_APP_URL = "https://play.google.com/store/apps/details?id=org.telegram.messenger";
2018-07-30 04:07:02 +02:00
static {
if (ApplicationLoader.applicationContext != null) {
SharedPreferences sharedPreferences = ApplicationLoader.applicationContext.getSharedPreferences("systemConfig", Context.MODE_PRIVATE);
LOGS_ENABLED = sharedPreferences.getBoolean("logsEnabled", DEBUG_VERSION);
}
}
}