forked from len0rd/rockbox
android: clean-up and some refactoring in java code.
Change-Id: I78cadb0b71bcb65a55006bf52cfe3e6cda891a38
This commit is contained in:
parent
82337dda6a
commit
c8317eb596
6 changed files with 65 additions and 77 deletions
|
@ -29,7 +29,7 @@ public class RockboxYesno
|
|||
{
|
||||
private void yesno_display(final String text, final String yes, final String no)
|
||||
{
|
||||
final Activity c = RockboxService.get_instance().get_activity();
|
||||
final Activity c = RockboxService.getInstance().getActivity();
|
||||
|
||||
c.runOnUiThread(new Runnable() {
|
||||
public void run()
|
||||
|
@ -60,7 +60,7 @@ public class RockboxYesno
|
|||
|
||||
private boolean is_usable()
|
||||
{
|
||||
return RockboxService.get_instance().get_activity() != null;
|
||||
return RockboxService.getInstance().getActivity() != null;
|
||||
}
|
||||
|
||||
private native void put_result(boolean result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue