[Android] Proper lock
Geoffrey Métais
git at videolan.org
Tue Feb 17 17:43:48 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb 17 15:38:36 2015 +0100| [d0ebddf1c8602e7445db8bf433e17cb1b9982930] | committer: Geoffrey Métais
Proper lock
CID #1270660
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=d0ebddf1c8602e7445db8bf433e17cb1b9982930
---
vlc-android/src/org/videolan/vlc/gui/DebugLogService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/DebugLogService.java b/vlc-android/src/org/videolan/vlc/gui/DebugLogService.java
index 03aca50..d399d0a 100644
--- a/vlc-android/src/org/videolan/vlc/gui/DebugLogService.java
+++ b/vlc-android/src/org/videolan/vlc/gui/DebugLogService.java
@@ -292,7 +292,7 @@ public class DebugLogService extends Service implements Logcat.Callback, Runnabl
private final ServiceConnection mServiceConnection = new ServiceConnection() {
@Override
public void onServiceConnected(ComponentName name, IBinder service) {
- synchronized (this) {
+ synchronized (Client.this) {
mIDebugLogService = IDebugLogService.Stub.asInterface(service);
try {
mIDebugLogService.registerCallback(mICallback);
More information about the Android
mailing list