forked from len0rd/rockbox
Android: Implement app shutdown and thus, sleep timer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29602 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
046cec3aa7
commit
8c46ddf9d7
5 changed files with 48 additions and 14 deletions
|
@ -81,6 +81,9 @@ public class RockboxActivity extends Activity
|
|||
case RockboxService.RESULT_ERROR_OCCURED:
|
||||
Toast.makeText(RockboxActivity.this, resultData.getString("error"), Toast.LENGTH_LONG);
|
||||
break;
|
||||
case RockboxService.RESULT_ROCKBOX_EXIT:
|
||||
finish();
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue