diff options
author | daneren2005 <daneren2005@gmail.com> | 2013-11-04 16:55:35 -0800 |
---|---|---|
committer | daneren2005 <daneren2005@gmail.com> | 2013-11-04 16:55:35 -0800 |
commit | 7b6be271cff51c3cda9f681fe6e1f235288f04a8 (patch) | |
tree | df2b13c501ceb13616806001ecc1ed500d327144 /src/github | |
parent | 1d25d45bc08e9427bdcb465201473e8cda507893 (diff) | |
download | dsub-7b6be271cff51c3cda9f681fe6e1f235288f04a8.tar.gz dsub-7b6be271cff51c3cda9f681fe6e1f235288f04a8.tar.bz2 dsub-7b6be271cff51c3cda9f681fe6e1f235288f04a8.zip |
Have builder return JB specific client
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/util/compat/RemoteControlClientHelper.java | 2 |
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(); } |