[TF][KILL] Hockey analytics

(cherry picked from commit af24d61e151b0656b940838f736037686f212e98)
This commit is contained in:
thermatk 2019-01-24 18:25:40 +00:00 committed by 世界
parent 0cfe8e4b78
commit ec6a123f2f
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
2 changed files with 3 additions and 27 deletions

View File

@ -1978,32 +1978,11 @@ public class AndroidUtilities {
}*/
public static void startAppCenter(Activity context) {
/*try {
if (BuildVars.DEBUG_VERSION) {
Distribute.setEnabledForDebuggableBuild(true);
AppCenter.start(context.getApplication(), BuildVars.DEBUG_VERSION ? BuildVars.APPCENTER_HASH_DEBUG : BuildVars.APPCENTER_HASH, Distribute.class, Crashes.class);
} else {
AppCenter.start(context.getApplication(), BuildVars.DEBUG_VERSION ? BuildVars.APPCENTER_HASH_DEBUG : BuildVars.APPCENTER_HASH, Crashes.class);
}
AppCenter.setUserId("uid=" + UserConfig.getInstance(UserConfig.selectedAccount).clientUserId);
} catch (Throwable e) {
FileLog.e(e);
}*/
}
private static long lastUpdateCheckTime;
public static void checkForUpdates() {
/*try {
if (BuildVars.DEBUG_VERSION) {
if (SystemClock.elapsedRealtime() - lastUpdateCheckTime < 60 * 60 * 1000) {
return;
}
lastUpdateCheckTime = SystemClock.elapsedRealtime();
Distribute.checkForUpdate();
}
} catch (Throwable e) {
FileLog.e(e);
}*/
}
public static void addToClipboard(CharSequence str) {

View File

@ -21,11 +21,8 @@ public class BuildVars {
public static boolean TON_WALLET_STANDALONE = false;
public static int BUILD_VERSION = 1988;
public static String BUILD_VERSION_STRING = "6.2.0";
public static int APP_ID = 336779;
public static String APP_HASH = "b91eefacc86747c068c8d8a16b41500d";
public static String APPCENTER_HASH = "a5b5c4f5-51da-dedc-9918-d9766a22ca7c";
public static String APPCENTER_HASH_DEBUG = "f9726602-67c9-48d2-b5d0-4761f1c1a8f3";
//
public static int APP_ID = BuildConfig.APP_ID; //obtain your own APP_ID at https://core.telegram.org/api/obtaining_api_id
public static String APP_HASH = BuildConfig.APP_HASH; //obtain your own APP_HASH at https://core.telegram.org/api/obtaining_api_id
public static String SMS_HASH = DEBUG_VERSION ? "O2P2z+/jBpJ" : "oLeq9AcOZkT";
public static String PLAYSTORE_APP_URL = "https://play.google.com/store/apps/details?id=tw.nekomimi.nekogram";