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

Commit 211c5844 authored by Chris Smith's avatar Chris Smith Committed by Android Git Automerger
Browse files

am 7a047941: docs: Fix minor issues with Wear data events docs.

* commit '7a047941':
  docs: Fix minor issues with Wear data events docs.
parents 57553775 7a047941
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@ pendingResult.setResultCallback(new ResultCallback<DataItemResult>() {
        if(result.getStatus().isSuccess()) {
            Log.d(TAG, "Data item set: " + result.getDataItem().getUri());
        }
    }
});
</pre>

@@ -293,7 +294,7 @@ public class MainActivity extends Activity implements
    &#64;Override
    protected void onStop() {
        if (null != mGoogleApiClient && mGoogleApiClient.isConnected()) {
            Wearable.NodeApi.removeListener(mGoogleApiClient, this);
            Wearable.DataApi.removeListener(mGoogleApiClient, this);
            mGoogleApiClient.disconnect();
        }
        super.onStop();