don't use automatic updates for playstore version

This commit is contained in:
Christian Schneppe 2018-02-19 21:40:44 +01:00
parent 793032b15e
commit 1e0f4a53aa

View file

@ -321,6 +321,9 @@ public class ConversationActivity extends XmppActivity
}
protected void AppUpdate(boolean PlayStore) {
if (PlayStore) {
return;
}
String PREFS_NAME = "UpdateTimeStamp";
SharedPreferences UpdateTimeStamp = getApplicationContext().getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE);
long lastUpdateTime = UpdateTimeStamp.getLong("lastUpdateTime", 0);