diff --git a/TMessagesProj/src/main/java/org/telegram/messenger/ApplicationLoader.java b/TMessagesProj/src/main/java/org/telegram/messenger/ApplicationLoader.java index 78747ac02..875139e18 100644 --- a/TMessagesProj/src/main/java/org/telegram/messenger/ApplicationLoader.java +++ b/TMessagesProj/src/main/java/org/telegram/messenger/ApplicationLoader.java @@ -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);