aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2013-11-04 16:55:35 -0800
committerdaneren2005 <daneren2005@gmail.com>2013-11-04 16:55:35 -0800
commit7b6be271cff51c3cda9f681fe6e1f235288f04a8 (patch)
treedf2b13c501ceb13616806001ecc1ed500d327144 /src/github/daneren2005
parent1d25d45bc08e9427bdcb465201473e8cda507893 (diff)
downloaddsub-7b6be271cff51c3cda9f681fe6e1f235288f04a8.tar.gz
dsub-7b6be271cff51c3cda9f681fe6e1f235288f04a8.tar.bz2
dsub-7b6be271cff51c3cda9f681fe6e1f235288f04a8.zip
Have builder return JB specific client
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/util/compat/RemoteControlClientHelper.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/util/compat/RemoteControlClientHelper.java b/src/github/daneren2005/dsub/util/compat/RemoteControlClientHelper.java
index ddaa9f43..9826851d 100644
--- a/src/github/daneren2005/dsub/util/compat/RemoteControlClientHelper.java
+++ b/src/github/daneren2005/dsub/util/compat/RemoteControlClientHelper.java
@@ -10,6 +10,8 @@ public abstract class RemoteControlClientHelper {
public static RemoteControlClientHelper createInstance() {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
return new RemoteControlClientBase();
+ } else if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) {
+ return new RemoteControlClientJB();
} else {
return new RemoteControlClientICS();
}