|
@@ -26,10 +26,13 @@ import android.util.Log;
|
|
|
import com.google.android.gms.common.ConnectionResult;
|
|
|
import com.google.android.gms.common.GoogleApiAvailability;
|
|
|
|
|
|
-public class GooglePlayUtils {
|
|
|
+public final class GooglePlayUtils {
|
|
|
private static final int PLAY_SERVICES_RESOLUTION_REQUEST = 9000;
|
|
|
private static final String TAG = "GooglePlayUtils";
|
|
|
|
|
|
+ private GooglePlayUtils() {
|
|
|
+ }
|
|
|
+
|
|
|
public static boolean checkPlayServices(Activity activity) {
|
|
|
GoogleApiAvailability apiAvailability = GoogleApiAvailability.getInstance();
|
|
|
int resultCode = apiAvailability.isGooglePlayServicesAvailable(activity);
|