Repository: mcastorina/mpv-remote-app (language: python)

Issue:
package name and directory discrepancy
This is mostly semantic and does not affect compilation but the directory structure uses `miccah.laptopremote` but source java files, and the manifest uses `miccah.mpvremote` in their `package` name declarations. This makes some symbols in the editor appear as unresolved, or be displayed with a full path i.e. `miccah.mpvremote.Settings`.

For example: 
https://github.com/mcastorina/mpv-remote-app/blob/master/MpvRemote/app/src/main/java/miccah/laptopremote/MainActivity.java#L1


Discussion / hints:
The original project was named `laptopremote`. We can rename the directory structure to match `mpvremote`.

Fix patch:
diff --git a/MpvRemote/app/src/androidTest/java/miccah/laptopremote/ExampleInstrumentedTest.java b/MpvRemote/app/src/androidTest/java/miccah/mpvremote/ExampleInstrumentedTest.java
similarity index 86%
rename from MpvRemote/app/src/androidTest/java/miccah/laptopremote/ExampleInstrumentedTest.java
rename to MpvRemote/app/src/androidTest/java/miccah/mpvremote/ExampleInstrumentedTest.java
index c8c124c..8f38b20 100644
--- a/MpvRemote/app/src/androidTest/java/miccah/laptopremote/ExampleInstrumentedTest.java
+++ b/MpvRemote/app/src/androidTest/java/miccah/mpvremote/ExampleInstrumentedTest.java
@@ -1,4 +1,4 @@
-package miccah.laptopremote;
+package miccah.mpvremote;
 
 import android.content.Context;
 import android.support.test.InstrumentationRegistry;
@@ -21,6 +21,6 @@ public void useAppContext() throws Exception {
         // Context of the app under test.
         Context appContext = InstrumentationRegistry.getTargetContext();
 
-        assertEquals("miccah.laptopremote", appContext.getPackageName());
+        assertEquals("miccah.mpvremote", appContext.getPackageName());
     }
 }
diff --git a/MpvRemote/app/src/main/java/miccah/laptopremote/BackgroundImageButton.java b/MpvRemote/app/src/main/java/miccah/mpvremote/BackgroundImageButton.java
similarity index 100%
rename from MpvRemote/app/src/main/java/miccah/laptopremote/BackgroundImageButton.java
rename to MpvRemote/app/src/main/java/miccah/mpvremote/BackgroundImageButton.java
diff --git a/MpvRemote/app/src/main/java/miccah/laptopremote/BackgroundToggleButton.java b/MpvRemote/app/src/main/java/miccah/mpvremote/BackgroundToggleButton.java
similarity index 100%
rename from MpvRemote/app/src/main/java/miccah/laptopremote/BackgroundToggleButton.java
rename to MpvRemote/app/src/main/java/miccah/mpvremote/BackgroundToggleButton.java
diff --git a/MpvRemote/app/src/main/java/miccah/laptopremote/Callback.java b/MpvRemote/app/src/main/java/miccah/mpvremote/Callback.java
similarity index 100%
rename from MpvRemote/app/src/main/java/miccah/laptopremote/Callback.java
rename to MpvRemote/app/src/main/java/miccah/mpvremote/Callback.java
diff --git a/MpvRemote/app/src/main/java/miccah/laptopremote/HMAC.java b/MpvRemote/app/src/main/java/miccah/mpvremote/HMAC.java
similarity index 100%
rename from MpvRemote/app/src/main/java/miccah/laptopremote/HMAC.java
rename to MpvRemote/app/src/main/java/miccah/mpvremote/HMAC.java
diff --git a/MpvRemote/app/src/main/java/miccah/laptopremote/LibraryActivity.java b/MpvRemote/app/src/main/java/miccah/mpvremote/LibraryActivity.java
similarity index 100%
rename from MpvRemote/app/src/main/java/miccah/laptopremote/LibraryActivity.java
rename to MpvRemote/app/src/main/java/miccah/mpvremote/LibraryActivity.java
diff --git a/MpvRemote/app/src/main/java/miccah/laptopremote/LibraryAdapter.java b/MpvRemote/app/src/main/java/miccah/mpvremote/LibraryAdapter.java
similarity index 100%
rename from MpvRemote/app/src/main/java/miccah/laptopremote/LibraryAdapter.java
rename to MpvRemote/app/src/main/java/miccah/mpvremote/LibraryAdapter.java
diff --git a/MpvRemote/app/src/main/java/miccah/laptopremote/MainActivity.java b/MpvRemote/app/src/main/java/miccah/mpvremote/MainActivity.java
similarity index 100%
rename from MpvRemote/app/src/main/java/miccah/laptopremote/MainActivity.java
rename to MpvRemote/app/src/main/java/miccah/mpvremote/MainActivity.java
diff --git a/MpvRemote/app/src/main/java/miccah/laptopremote/Settings.java b/MpvRemote/app/src/main/java/miccah/mpvremote/Settings.java
similarity index 100%
rename from MpvRemote/app/src/main/java/miccah/laptopremote/Settings.java
rename to MpvRemote/app/src/main/java/miccah/mpvremote/Settings.java
diff --git a/MpvRemote/app/src/main/java/miccah/laptopremote/SettingsAdapter.java b/MpvRemote/app/src/main/java/miccah/mpvremote/SettingsAdapter.java
similarity index 100%
rename from MpvRemote/app/src/main/java/miccah/laptopremote/SettingsAdapter.java
rename to MpvRemote/app/src/main/java/miccah/mpvremote/SettingsAdapter.java
diff --git a/MpvRemote/app/src/main/java/miccah/laptopremote/UDPPacket.java b/MpvRemote/app/src/main/java/miccah/mpvremote/UDPPacket.java
similarity index 100%
rename from MpvRemote/app/src/main/java/miccah/laptopremote/UDPPacket.java
rename to MpvRemote/app/src/main/java/miccah/mpvremote/UDPPacket.java


Test patch:
diff --git a/MpvRemote/app/src/test/java/miccah/laptopremote/ExampleUnitTest.java b/MpvRemote/app/src/test/java/miccah/mpvremote/ExampleUnitTest.java
similarity index 92%
rename from MpvRemote/app/src/test/java/miccah/laptopremote/ExampleUnitTest.java
rename to MpvRemote/app/src/test/java/miccah/mpvremote/ExampleUnitTest.java
index 7fbc183..5cf155c 100644
--- a/MpvRemote/app/src/test/java/miccah/laptopremote/ExampleUnitTest.java
+++ b/MpvRemote/app/src/test/java/miccah/mpvremote/ExampleUnitTest.java
@@ -1,4 +1,4 @@
-package miccah.laptopremote;
+package miccah.mpvremote;
 
 import org.junit.Test;