forked from len0rd/rockbox
Android: Simplify media button intent generation in the widget and cleanup RockboxService accordingly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29404 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
75aa83526f
commit
eb01664804
4 changed files with 69 additions and 52 deletions
|
@ -45,6 +45,7 @@ public class RockboxActivity extends Activity
|
|||
WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
||||
|
||||
Intent intent = new Intent(this, RockboxService.class);
|
||||
intent.setAction(Intent.ACTION_MAIN);
|
||||
intent.putExtra("callback", new ResultReceiver(new Handler(getMainLooper())) {
|
||||
private ProgressDialog loadingdialog;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue