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

Commit 4aeb8cb3 authored by Joe Malin's avatar Joe Malin Committed by Android Git Automerger
Browse files

am 1e4cfd8e: am f0bca903: am e55ba431: Merge "Docs bug fix: B9085293 - Stop...

am 1e4cfd8e: am f0bca903: am e55ba431: Merge "Docs bug fix: B9085293 - Stop Location Updates" into jb-mr1.1-docs

* commit '1e4cfd8e':
  Docs bug fix: B9085293 - Stop Location Updates
parents ca725a1a 1e4cfd8e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -567,7 +567,12 @@ public class MainActivity extends FragmentActivity implements
    protected void onStop() {
        // If the client is connected
        if (mLocationClient.isConnected()) {
            stopPeriodicUpdates();
            /*
             * Remove location updates for a listener.
             * The current Activity is the listener, so
             * the argument is "this".
             */
            removeLocationUpdates(this);
        }
        /*
         * After disconnect() is called, the client is