[Android] Code cleaning

David Papazian git at videolan.org
Wed Aug 23 18:17:37 CEST 2017


vlc-android | branch: master | David Papazian <david.papazian at metz.supelec.fr> | Fri Aug 11 15:11:11 2017 +0200| [41f0e080eba7808baefe016b8ab0bb6b18486e31] | committer: Geoffrey Métais

Code cleaning

> https://code.videolan.org/videolan/vlc-android/commit/41f0e080eba7808baefe016b8ab0bb6b18486e31
---

 .../videolan/vlc/extensions/ExtensionManagerService.java   | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/extensions/ExtensionManagerService.java b/vlc-android/src/org/videolan/vlc/extensions/ExtensionManagerService.java
index b4c7f24d8..ea954f9e3 100644
--- a/vlc-android/src/org/videolan/vlc/extensions/ExtensionManagerService.java
+++ b/vlc-android/src/org/videolan/vlc/extensions/ExtensionManagerService.java
@@ -28,11 +28,8 @@ import android.content.ComponentName;
 import android.content.Context;
 import android.content.Intent;
 import android.content.ServiceConnection;
-import android.content.pm.PackageManager;
-import android.content.pm.ResolveInfo;
 import android.net.Uri;
 import android.os.Binder;
-import android.os.Bundle;
 import android.os.Handler;
 import android.os.IBinder;
 import android.os.RemoteException;
@@ -40,29 +37,18 @@ import android.support.annotation.Nullable;
 import android.text.TextUtils;
 import android.util.Log;
 
-import org.videolan.vlc.VLCApplication;
 import org.videolan.vlc.extensions.api.IExtensionHost;
 import org.videolan.vlc.extensions.api.IExtensionService;
 import org.videolan.vlc.extensions.api.VLCExtensionItem;
 import org.videolan.vlc.media.MediaUtils;
 import org.videolan.medialibrary.media.MediaWrapper;
 
-import java.util.ArrayList;
 import java.util.List;
 
 public class ExtensionManagerService extends Service {
 
     private static final String TAG = "VLC/ExtensionManagerService";
 
-    private static final String KEY_PROTOCOL_VERSION = "protocolVersion";
-    private static final String KEY_LISTING_TITLE = "title";
-    private static final String KEY_DESCRIPTION = "description";
-    private static final String KEY_MENU_ICON = "menuicon";
-    private static final String KEY_SETTINGS_ACTIVITY = "settingsActivity";
-
-    public static final String ACTION_EXTENSION = "org.videolan.vlc.Extension";
-    public static final int PROTOCOLE_VERSION = 1;
-
     private final IBinder mBinder = new LocalBinder();
     private ExtensionManagerActivity mExtensionManagerActivity;
 



More information about the Android mailing list