You don't need that okToFinishApp = false there in the end. That
slipped in when I pulled this together from various places

On Apr 24, 7:49 am, JP <joachim.pfeif...@gmail.com> wrote:
> On Apr 24, 7:26 am, Disconnect <dc.disconn...@gmail.com> wrote:
>
>
>     @Override
>     protected void onStop() {
>
>         super.onStop();
>
>         if (okToFinishApp)
>                 this.finish();
>
>         okToFinishApp = false;
>      }
>
> <-------------------------- snip -------------------->

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to