don't use automatic updates for playstore version
This commit is contained in:
parent
793032b15e
commit
1e0f4a53aa
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue