android: don't crash if the user presses HOME while the loading screen is showing, this shuld also be made canceleable later
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28530 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8371d78519
commit
eab843f2c3
1 changed files with 6 additions and 3 deletions
|
@ -131,21 +131,24 @@ public class RockboxActivity extends Activity
|
|||
protected void onPause()
|
||||
{
|
||||
super.onPause();
|
||||
rbservice.set_activity(null);
|
||||
if (rbservice != null)
|
||||
rbservice.set_activity(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onStop()
|
||||
{
|
||||
super.onStop();
|
||||
rbservice.set_activity(null);
|
||||
if (rbservice != null)
|
||||
rbservice.set_activity(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDestroy()
|
||||
{
|
||||
super.onDestroy();
|
||||
rbservice.set_activity(null);
|
||||
if (rbservice != null)
|
||||
rbservice.set_activity(null);
|
||||
}
|
||||
|
||||
private void LOG(CharSequence text)
|
||||
|
|
Loading…
Reference in a new issue