Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3442b412 authored by Andrew Solovay's avatar Andrew Solovay Committed by Android Git Automerger
Browse files

am 8d8cf0b2: am e7c7993e: Merge "docs: Fixed error in code sample." into klp-modular-docs

* commit '8d8cf0b2':
  docs: Fixed error in code sample.
parents 29d35997 8d8cf0b2
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -167,13 +167,12 @@ public class MainActivity extends FragmentActivity {
                    "Google Play services is available.");
            // Continue
            return true;
        // Google Play services was not available for some reason
        // Google Play services was not available for some reason.
        // resultCode holds the error code.
        } else {
            // Get the error code
            int errorCode = connectionResult.getErrorCode();
            // Get the error dialog from Google Play services
            Dialog errorDialog = GooglePlayServicesUtil.getErrorDialog(
                    errorCode,
                    resultCode,
                    this,
                    CONNECTION_FAILURE_RESOLUTION_REQUEST);