mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-22 14:35:03 +01:00
Fix GooglePlayService Deprecation
This commit is contained in:
parent
0abe4541dd
commit
a001fd3e03
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ public class ApplicationLoader extends Application {
|
|||
|
||||
private boolean checkPlayServices() {
|
||||
try {
|
||||
int resultCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this);
|
||||
int resultCode = GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(this);
|
||||
return resultCode == ConnectionResult.SUCCESS;
|
||||
} catch (Exception e) {
|
||||
FileLog.e(e);
|
||||
|
|
Loading…
Reference in a new issue