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
|
@ -35,7 +35,7 @@ public class RockboxKeyboardInput
|
|||
{
|
||||
public void kbd_input(final String text, final String ok, final String cancel)
|
||||
{
|
||||
final Activity c = RockboxService.get_instance().get_activity();
|
||||
final Activity c = RockboxService.getInstance().getActivity();
|
||||
|
||||
c.runOnUiThread(new Runnable() {
|
||||
public void run()
|
||||
|
@ -74,6 +74,6 @@ public class RockboxKeyboardInput
|
|||
|
||||
public boolean is_usable()
|
||||
{
|
||||
return RockboxService.get_instance().get_activity() != null;
|
||||
return RockboxService.getInstance().getActivity() != null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue