[Android] Code cleaning
Geoffrey Métais
git at videolan.org
Tue Feb 5 16:34:33 CET 2019
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb 5 16:34:00 2019 +0100| [a0f3890ed74f3aafb6783156697bd72ff852a8e3] | committer: Geoffrey Métais
Code cleaning
> https://code.videolan.org/videolan/vlc-android/commit/a0f3890ed74f3aafb6783156697bd72ff852a8e3
---
vlc-android/src/org/videolan/vlc/gui/InfoActivity.java | 14 ++++++++------
vlc-android/src/org/videolan/vlc/gui/helpers/UiTools.java | 2 --
vlc-android/src/org/videolan/vlc/util/Util.java | 6 +++---
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/InfoActivity.java b/vlc-android/src/org/videolan/vlc/gui/InfoActivity.java
index 52e67857e..8edfdd30a 100644
--- a/vlc-android/src/org/videolan/vlc/gui/InfoActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/InfoActivity.java
@@ -1,7 +1,6 @@
package org.videolan.vlc.gui;
-import androidx.databinding.DataBindingUtil;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.net.Uri;
@@ -9,15 +8,12 @@ import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
-import androidx.annotation.Nullable;
-import com.google.android.material.bottomsheet.BottomSheetBehavior;
-import androidx.coordinatorlayout.widget.CoordinatorLayout;
-import androidx.core.view.ViewCompat;
-import androidx.recyclerview.widget.LinearLayoutManager;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.View;
+import com.google.android.material.bottomsheet.BottomSheetBehavior;
+
import org.videolan.libvlc.LibVLC;
import org.videolan.libvlc.Media;
import org.videolan.libvlc.util.Extensions;
@@ -44,6 +40,12 @@ import java.io.File;
import java.util.LinkedList;
import java.util.List;
+import androidx.annotation.Nullable;
+import androidx.coordinatorlayout.widget.CoordinatorLayout;
+import androidx.core.view.ViewCompat;
+import androidx.databinding.DataBindingUtil;
+import androidx.recyclerview.widget.LinearLayoutManager;
+
public class InfoActivity extends AudioPlayerContainerActivity implements View.OnClickListener {
public final static String TAG_ITEM = "ML_ITEM";
diff --git a/vlc-android/src/org/videolan/vlc/gui/helpers/UiTools.java b/vlc-android/src/org/videolan/vlc/gui/helpers/UiTools.java
index 27c1bacaf..c1ecf12ec 100644
--- a/vlc-android/src/org/videolan/vlc/gui/helpers/UiTools.java
+++ b/vlc-android/src/org/videolan/vlc/gui/helpers/UiTools.java
@@ -48,7 +48,6 @@ import android.renderscript.RenderScript;
import android.renderscript.ScriptIntrinsicBlur;
import android.text.Html;
import android.text.TextUtils;
-import android.util.Log;
import android.view.Display;
import android.view.DragAndDropPermissions;
import android.view.DragEvent;
@@ -67,7 +66,6 @@ import android.widget.TextView;
import com.google.android.material.snackbar.Snackbar;
-import org.videolan.BuildConfig;
import org.videolan.libvlc.util.AndroidUtil;
import org.videolan.medialibrary.Medialibrary;
import org.videolan.medialibrary.media.MediaLibraryItem;
diff --git a/vlc-android/src/org/videolan/vlc/util/Util.java b/vlc-android/src/org/videolan/vlc/util/Util.java
index dbbc30c0f..63a9090d7 100644
--- a/vlc-android/src/org/videolan/vlc/util/Util.java
+++ b/vlc-android/src/org/videolan/vlc/util/Util.java
@@ -26,13 +26,10 @@ import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
-import androidx.annotation.NonNull;
-import androidx.annotation.Nullable;
import android.text.TextUtils;
import android.widget.Toast;
import org.videolan.libvlc.Dialog;
-import org.videolan.libvlc.util.AndroidUtil;
import org.videolan.medialibrary.Tools;
import org.videolan.medialibrary.media.MediaLibraryItem;
import org.videolan.vlc.R;
@@ -49,6 +46,9 @@ import java.util.Collection;
import java.util.Collections;
import java.util.List;
+import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
+
public class Util {
public final static String TAG = "VLC/Util";
More information about the Android
mailing list