GPS OnPause code does not turn off the GPS
<p>GPS will not stop even thouth I have installed OnPause code to stop the GPS service.  Here is my code.</p>

<pre><code>    @Override
    protected void onPause() {
        if(lm != null) {
            lm.removeUpdates(ll);
        }
        ll = null;
        lm = null;
        super.onPause();
    }
</code></pre>

<p>This code runs without errors as long as lm and ll are declared as protected variables globally.  The problem is that the GPS icon stays on after I leave the program.  How do I turn GPS off?  I have tested this on a phone and the emulator.</p>
