aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-08-24 17:35:17 -0700
committerScott Jackson <daneren2005@gmail.com>2013-08-24 17:35:17 -0700
commit2032c1a8208eb7812051259d7a31283e2e652527 (patch)
tree6f7aa81c48a1a43cd36f24e838b04fc935867ea0 /src/github/daneren2005
parent16537eba7d53221214c0d9adf968393bfb50287b (diff)
downloaddsub-2032c1a8208eb7812051259d7a31283e2e652527.tar.gz
dsub-2032c1a8208eb7812051259d7a31283e2e652527.tar.bz2
dsub-2032c1a8208eb7812051259d7a31283e2e652527.zip
Fix syntax error
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java b/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java
index 0c801fd6..e0019559 100644
--- a/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java
+++ b/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java
@@ -116,7 +116,7 @@ public class DownloadServiceLifecycleSupport {
public void run() {
Looper.prepare();
eventLooper = Looper.myLooper();
- eventHandler = new Handler(mediaPlayerLooper);
+ eventHandler = new Handler(eventLooper);
Looper.loop();
}
}).start();
@@ -189,7 +189,6 @@ public class DownloadServiceLifecycleSupport {
@Override
public void run() {
if(!setup.get()) {
- locked = true;
lock.lock();
lock.unlock();
}
@@ -338,7 +337,7 @@ public class DownloadServiceLifecycleSupport {
private boolean resumeAfterCall;
@Override
- public void onCallStateChanged(int state, String incomingNumber) {
+ public void onCallStateChanged(final int state, String incomingNumber) {
eventHandler.post(new Runnable() {
@Override
public void run() {