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

Commit 7a047941 authored by Chris Smith's avatar Chris Smith
Browse files

docs: Fix minor issues with Wear data events docs.

Change-Id: Id6f6c57748e2e51b7a0de6fb6e7912a0c838d987
parent 63477e67
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();