diff options
Diffstat (limited to 'android/src/org/rockbox/Helper')
-rw-r--r-- | android/src/org/rockbox/Helper/MediaButtonReceiver.java | 3 | ||||
-rw-r--r-- | android/src/org/rockbox/Helper/RunForegroundManager.java | 10 |
2 files changed, 1 insertions, 12 deletions
diff --git a/android/src/org/rockbox/Helper/MediaButtonReceiver.java b/android/src/org/rockbox/Helper/MediaButtonReceiver.java index eebdbb985b..2334259c8e 100644 --- a/android/src/org/rockbox/Helper/MediaButtonReceiver.java +++ b/android/src/org/rockbox/Helper/MediaButtonReceiver.java @@ -29,7 +29,6 @@ import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.media.AudioManager; -import android.util.Log; import android.view.KeyEvent; public class MediaButtonReceiver @@ -144,7 +143,7 @@ public class MediaButtonReceiver public void onAudioFocusChange(int focusChange) { - Log.d("Rockbox", "Audio focus" + ((focusChange>0)?"gained":"lost")+ + Logger.d("Audio focus" + ((focusChange>0)?"gained":"lost")+ ": "+ focusChange); if (running) { /* Play nice and stop for the the other app */ diff --git a/android/src/org/rockbox/Helper/RunForegroundManager.java b/android/src/org/rockbox/Helper/RunForegroundManager.java index 99287c3c6a..7677444374 100644 --- a/android/src/org/rockbox/Helper/RunForegroundManager.java +++ b/android/src/org/rockbox/Helper/RunForegroundManager.java @@ -40,16 +40,6 @@ public class RunForegroundManager initForegroundCompat(); } - private void LOG(CharSequence text) - { - Log.d("Rockbox", (String)text); - } - - private void LOG(CharSequence text, Throwable tr) - { - Log.d("Rockbox", (String)text, tr); - } - public void startForeground() { startForegroundCompat(R.string.notification, mNotification); |