summaryrefslogtreecommitdiffstats
path: root/android/src
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-02-19 01:26:45 +0000
committerThomas Martitz <kugel@rockbox.org>2011-02-19 01:26:45 +0000
commitc9c28200c0f4e7d1a77ebb5e96774969b15d07ec (patch)
treecbb7204bfffa3e74e4bc48b6d1ab439d63f9fbb9 /android/src
parent144df92bfb3bde9d843363ac5ab537c4d5ee24e3 (diff)
downloadrockbox-c9c28200c0f4e7d1a77ebb5e96774969b15d07ec.tar.gz
rockbox-c9c28200c0f4e7d1a77ebb5e96774969b15d07ec.tar.bz2
rockbox-c9c28200c0f4e7d1a77ebb5e96774969b15d07ec.zip
Correct setServiceActivity implementation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29334 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'android/src')
-rw-r--r--android/src/org/rockbox/RockboxActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/src/org/rockbox/RockboxActivity.java b/android/src/org/rockbox/RockboxActivity.java
index f3f0d2151c..90c687f35a 100644
--- a/android/src/org/rockbox/RockboxActivity.java
+++ b/android/src/org/rockbox/RockboxActivity.java
@@ -95,7 +95,7 @@ public class RockboxActivity extends Activity
private void setServiceActivity(boolean set)
{
if (rbservice != null)
- rbservice.set_activity(this);
+ rbservice.set_activity(set ? this : null);
}
private void attachFramebuffer()