[Android] DebugLogService: cosmetics and remove unused variable

Jean-Baptiste Kempf git at videolan.org
Sat May 23 19:09:12 CEST 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 23 18:13:28 2015 +0200| [998041fe48eaa459ce73e2fec602132c59f1b32d] | committer: Jean-Baptiste Kempf

DebugLogService: cosmetics and remove unused variable

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=998041fe48eaa459ce73e2fec602132c59f1b32d
---

 vlc-android/src/org/videolan/vlc/gui/DebugLogService.java |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/DebugLogService.java b/vlc-android/src/org/videolan/vlc/gui/DebugLogService.java
index adb7392..b1cb33e 100644
--- a/vlc-android/src/org/videolan/vlc/gui/DebugLogService.java
+++ b/vlc-android/src/org/videolan/vlc/gui/DebugLogService.java
@@ -27,7 +27,6 @@ import android.content.ComponentName;
 import android.content.Context;
 import android.content.Intent;
 import android.content.ServiceConnection;
-import android.os.Environment;
 import android.os.Handler;
 import android.os.IBinder;
 import android.os.Looper;
@@ -61,7 +60,6 @@ public class DebugLogService extends Service implements Logcat.Callback, Runnabl
     private Logcat mLogcat = null;
     private LinkedList<String> mLogList = new LinkedList<String>();
     private Thread mSaveThread = null;
-    private String mSaveFilename = null;
     private final RemoteCallbackList<IDebugLogServiceCallback> mCallbacks = new RemoteCallbackList<IDebugLogServiceCallback>();
     private final IBinder mBinder = new DebugLogServiceStub(this);
 
@@ -232,10 +230,10 @@ public class DebugLogService extends Service implements Logcat.Callback, Runnabl
     public static class Client {
 
         public interface Callback {
-            public void onStarted(List<String> lostList);
-            public void onStopped();
-            public void onLog(String msg);
-            public void onSaved(boolean success, String path);
+            void onStarted(List<String> lostList);
+            void onStopped();
+            void onLog(String msg);
+            void onSaved(boolean success, String path);
         }
 
         private boolean mBound = false;



More information about the Android mailing list