Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
GmsCore
Commits
87465cd1
Commit
87465cd1
authored
Feb 20, 2021
by
Fynn Godau
Committed by
Marvin W.
Feb 23, 2021
Browse files
Add missing method to GoogleApiAvailability
parent
5b50e246
Changes
1
Show whitespace changes
Inline
Side-by-side
play-services-base/src/main/java/com/google/android/gms/common/GoogleApiAvailability.java
View file @
87465cd1
...
...
@@ -163,6 +163,19 @@ public class GoogleApiAvailability {
return
SUCCESS
;
}
/**
* Verifies that Google Play services is installed and enabled on this device, and that the version installed on
* this device is no older than the one required by this client or the version is not older than the one specified
* in <code>minApkVersion</code>.
*
* @return status code indicating whether there was an error. Can be one of following in
* {@link ConnectionResult}: SUCCESS, SERVICE_MISSING, SERVICE_UPDATING,
* SERVICE_VERSION_UPDATE_REQUIRED, SERVICE_DISABLED, SERVICE_INVALID
*/
public
int
isGooglePlayServicesAvailable
(
Context
context
,
int
minApkVersion
)
{
return
isGooglePlayServicesAvailable
(
context
);
}
/**
* Determines whether an error can be resolved via user action. If true, proceed by calling
* {@link #getErrorDialog(Activity, int, int)} and showing the dialog.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment