summaryrefslogtreecommitdiff
path: root/android/src/org/rockbox/RockboxYesno.java
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-03-25 19:22:39 +0200
committerThomas Martitz <kugel@rockbox.org>2012-03-25 22:28:07 +0200
commitc8317eb596a867d6513ef78f84a5e620579580ce (patch)
tree223ff083a2a6a4b352a8f85cca01d046f882d724 /android/src/org/rockbox/RockboxYesno.java
parent82337dda6a7bf02b3570acd6570aa8c7c328ab3c (diff)
android: clean-up and some refactoring in java code.
Change-Id: I78cadb0b71bcb65a55006bf52cfe3e6cda891a38
Diffstat (limited to 'android/src/org/rockbox/RockboxYesno.java')
-rw-r--r--android/src/org/rockbox/RockboxYesno.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/src/org/rockbox/RockboxYesno.java b/android/src/org/rockbox/RockboxYesno.java
index f770f1c7e2..de8f88ab5f 100644
--- a/android/src/org/rockbox/RockboxYesno.java
+++ b/android/src/org/rockbox/RockboxYesno.java
@@ -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);