[Android] Fix refactor issues and typo

Nicolas Pomepuy git at videolan.org
Thu Apr 16 10:25:58 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Apr 16 09:38:31 2020 +0200| [bb73bfec456394a6f98c12784774cd8c44ca495a] | committer: Geoffrey Métais

Fix refactor issues and typo

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

 .../resources/src/main}/res/values-land/dimens.xml                    | 0
 medialibrary/res/values-land/booleans.xml                             | 4 ----
 medialibrary/test/org/videolan/medialibrary/ToolsTest.java            | 2 +-
 3 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/medialibrary/res/values-land/dimens.xml b/application/resources/src/main/res/values-land/dimens.xml
similarity index 100%
rename from medialibrary/res/values-land/dimens.xml
rename to application/resources/src/main/res/values-land/dimens.xml
diff --git a/medialibrary/res/values-land/booleans.xml b/medialibrary/res/values-land/booleans.xml
deleted file mode 100644
index 75fa6c101..000000000
--- a/medialibrary/res/values-land/booleans.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
-    <bool name="list_mode">false</bool>
-</resources>
\ No newline at end of file
diff --git a/medialibrary/test/org/videolan/medialibrary/ToolsTest.java b/medialibrary/test/org/videolan/medialibrary/ToolsTest.java
index ae3c095b2..dca3bdb7f 100644
--- a/medialibrary/test/org/videolan/medialibrary/ToolsTest.java
+++ b/medialibrary/test/org/videolan/medialibrary/ToolsTest.java
@@ -14,7 +14,7 @@ public class ToolsTest {
     }
 
     @Test
-    public void testMillisToString()n {
+    public void testMillisToString() {
         assertEquals("3min30s", Tools.millisToString(210000, true, true));
         assertEquals("3min", Tools.millisToString(180000, true, true));
         assertEquals("1h30min30s", Tools.millisToString(5430000, true, true));



More information about the Android mailing list