aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-11-04 18:17:21 -0800
committerScott Jackson <daneren2005@gmail.com>2013-11-04 18:17:21 -0800
commita2dda7438079997ed04035c78b81f6113b9fb5e3 (patch)
treeebf08643024181a273f8393fe714241936878682 /src/github
parent7b6be271cff51c3cda9f681fe6e1f235288f04a8 (diff)
downloaddsub-a2dda7438079997ed04035c78b81f6113b9fb5e3.tar.gz
dsub-a2dda7438079997ed04035c78b81f6113b9fb5e3.tar.bz2
dsub-a2dda7438079997ed04035c78b81f6113b9fb5e3.zip
Fix web commits
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/activity/SubsonicActivity.java5
-rw-r--r--src/github/daneren2005/dsub/util/compat/RemoteControlClientJB.java2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/github/daneren2005/dsub/activity/SubsonicActivity.java b/src/github/daneren2005/dsub/activity/SubsonicActivity.java
index 3859d58d..22d2a62c 100644
--- a/src/github/daneren2005/dsub/activity/SubsonicActivity.java
+++ b/src/github/daneren2005/dsub/activity/SubsonicActivity.java
@@ -41,6 +41,7 @@ import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
+import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
@@ -198,12 +199,12 @@ public class SubsonicActivity extends ActionBarActivity implements OnItemSelecte
drawer.setOnTouchListener(new View.OnTouchListener() {
public boolean onTouch(View v, MotionEvent event) {
- if(currentFragment != null && currentFragment.getGestureDetector() != null) {
+ if (currentFragment != null && currentFragment.getGestureDetector() != null) {
return currentFragment.getGestureDetector().onTouchEvent(event);
} else {
return false;
}
- }
+ }
});
// Check whether this is a tablet or not
diff --git a/src/github/daneren2005/dsub/util/compat/RemoteControlClientJB.java b/src/github/daneren2005/dsub/util/compat/RemoteControlClientJB.java
index f0008a9b..c499f6c0 100644
--- a/src/github/daneren2005/dsub/util/compat/RemoteControlClientJB.java
+++ b/src/github/daneren2005/dsub/util/compat/RemoteControlClientJB.java
@@ -13,7 +13,7 @@ import android.media.RemoteControlClient;
import github.daneren2005.dsub.activity.SubsonicActivity;
import github.daneren2005.dsub.service.DownloadService;
-@TargetApi(16)
+@TargetApi(18)
public class RemoteControlClientJB extends RemoteControlClientICS {
@Override
public void register(final Context context, final ComponentName mediaButtonReceiverComponent) {