Browse Source

Updated Andr0id pr0ject files to work w/ Studio v4.0, simplified .gitignores (one inside Android st00dio dir for all that shit and one in the git root for errythang else), VERSION_CODE property file is now created if it doesn't exist, explicitly disable minify for debug builds, fixed/suppressed a bunch of code inspection warnings/errors, standardised version numbering (x.y.z), some security fixes (e.g no longer export services lmoa), build number on settings screen now includes build type (debug/release/etc), use commit() instead of apply() for prefs (the former makes it apply immediately, fuck that delayed bullshit), updated Gradle dependencies to the latest version where possibru, added custom project search sc0pe and pr0lly some other misc fixes xdxd

Wazakindjes 1 year ago
parent
commit
3b5ff5d3c8
34 changed files with 370 additions and 151 deletions
  1. 0 31
      .gitignore
  2. 1 1
      README.md
  3. BIN
      app/rem0t0.apk
  4. 90 9
      app/src/.gitignore
  5. 109 25
      app/src/.idea/codeStyles/Project.xml
  6. 6 0
      app/src/.idea/inspectionProfiles/Project_Default.xml
  7. 40 0
      app/src/.idea/jarRepositories.xml
  8. 12 2
      app/src/.idea/misc.xml
  9. 3 0
      app/src/.idea/scopes/Project_sauce.xml
  10. 0 1
      app/src/app_rem0t0/.gitignore
  11. 6 9
      app/src/app_rem0t0/build.gradle
  12. 1 0
      app/src/app_rem0t0/src/androidTest/java/com/jemoeder/lief/rem0t0/ExampleInstrumentedTest.java
  13. 2 4
      app/src/app_rem0t0/src/main/AndroidManifest.xml
  14. 20 17
      app/src/app_rem0t0/src/main/java/com/jemoeder/lief/rem0t0/MainActivity.java
  15. 2 1
      app/src/app_rem0t0/src/main/java/com/jemoeder/lief/rem0t0/muhSender.java
  16. 2 2
      app/src/app_rem0t0/src/main/res/drawable/drw_rem0t0_rewind.xml
  17. 1 2
      app/src/app_rem0t0/src/main/res/drawable/drw_rem0t0_seekbar_thumb.xml
  18. 2 2
      app/src/app_rem0t0/src/main/res/layout/muhactionbar.xml
  19. 19 10
      app/src/app_rem0t0/src/main/res/layout/rem0t0_esp8266_ac.xml
  20. 4 4
      app/src/app_rem0t0/src/main/res/layout/rem0t0_hdmiswitch.xml
  21. 9 6
      app/src/app_rem0t0/src/main/res/layout/rem0t0_ledstrip.xml
  22. 18 8
      app/src/app_rem0t0/src/main/res/layout/rem0t0_stereo.xml
  23. 15 6
      app/src/app_rem0t0/src/main/res/layout/rem0t0_tv.xml
  24. 0 1
      app/src/app_rem0t0/src/main/res/values/colors.xml
  25. 0 4
      app/src/app_rem0t0/src/main/res/values/dimens.xml
  26. 3 2
      app/src/app_rem0t0/src/main/res/xml/network_security_config.xml
  27. 2 2
      app/src/app_rem0t0/version.properties
  28. 1 1
      app/src/build.gradle
  29. 2 1
      app/src/gradle/wrapper/gradle-wrapper.properties
  30. 0 0
      ass/scr0ts/esp8266_ac.png
  31. 0 0
      ass/scr0ts/hdmi.png
  32. 0 0
      ass/scr0ts/led.png
  33. 0 0
      ass/scr0ts/stereo.png
  34. 0 0
      ass/scr0ts/tv.png

+ 0 - 31
.gitignore

@@ -5,34 +5,3 @@ $RECYCLE.BIN
 *-bak*
 *.ini
 /ssl
-
-/app/release
-/app/src/.idea/assetWizardSettings.xml
-/app/src/.idea/caches
-/app/src/.idea/gradle.xml
-/app/src/.idea/libraries
-/app/src/.idea/modules.xml
-/app/src/.idea/workspace.xml
-
-.gradle/
-build/
-*.class
-*.dex
-local.properties
-proguard/
-*.log
-.navigation/
-captures/
-*.iml
-/app/src/.idea/tasks.xml
-/app/src/.idea/dictionaries
-.externalNativeBuild
-google-services.json
-freeline.py
-freeline/
-freeline_project_description.json
-fastlane/report.xml
-fastlane/Preview.html
-fastlane/screenshots
-fastlane/test_output
-fastlane/readme.md

+ 1 - 1
README.md

@@ -66,7 +66,7 @@ ez pz ;]
 You'll need to make some adjustments if you want to release signed APKs lol. Refer to the section [right here](https://gitgud.malvager.net/Wazakindjes/Meqqy#android-specific-shit) (only applies to Mac OS X, if you're on Windows then idk how to do something similar :>).
 
 # Usage
-![scr0t](./ass/scr0t_led.png) ![scr0t](./ass/scr0t_hdmi.png) ![scr0t](./ass/scr0t_stereo.png) ![scr0t](./ass/scr0t_tv.png) ![scr0t](./ass/scr0t_esp8266_ac.png)
+![scr0t](./ass/scr0ts/led.png) ![scr0t](./ass/scr0ts/hdmi.png) ![scr0t](./ass/scr0ts/stereo.png) ![scr0t](./ass/scr0ts/tv.png) ![scr0t](./ass/scr0ts/esp8266_ac.png)
 Deez ~~nuts~~ scr0ts should be p self-explanatory imo tbh. As you can see, you can specify labels for the HDMI switch's buttons (cuz I always forget which is which ;\_;).
 
 If you longpress on a button (i.e. hold it for 300ms) it will send a `cont` command, then when you release em it will send a `stop` command. This works for almost all remotes (non-IR shit like the ESP8266 __excluded__), but there's no real point for it in regards to the HDMI switch. ;;]];];];];

BIN
app/rem0t0.apk


+ 90 - 9
app/src/.gitignore

@@ -1,11 +1,92 @@
+# .gitignore to put in the rewt of an Android Studio pr0ject dir ;]
+# Got this shit from: https://github.com/github/gitignore/blob/master/Android.gitignore
+
+# Built application files
+*.apk
+*.aar
+*.ap_
+*.aab
+
+# Files for the ART/Dalvik VM
+*.dex
+
+# Java class files
+*.class
+
+# Generated files
+bin/
+gen/
+out/
+
+# Any release files should be generated and stored outside the project dir, e.g. in the *git tree* rewtt dir
+release/
+
+# Gradle files
+.gradle/
+build/
+
+# Local configuration file (sdk path, etc)
+local.properties
+
+# Proguard folder generated by Eclipse
+proguard/
+
+# Log Files
+*.log
+
+# Android Studio Navigation editor temp files
+.navigation/
+
+# Android Studio captures folder
+captures/
+
+# IntelliJ
 *.iml
-.gradle
-/local.properties
-/.idea/caches/build_file_checksums.ser
-/.idea/libraries
-/.idea/modules.xml
-/.idea/workspace.xml
-.DS_Store
-/build
-/captures
+.idea/workspace.xml
+.idea/tasks.xml
+.idea/gradle.xml
+.idea/assetWizardSettings.xml
+.idea/dictionaries
+.idea/libraries
+# Android Studio 3 in .gitignore file.
+.idea/caches
+.idea/modules.xml
+# Comment next line if keeping position of elements in Navigation Editor is relevant for you
+.idea/navEditor.xml
+
+# Keystore files
+# The project is set up to read the necessary information from Keychain shit instead =]
+*.jks
+*.keystore
+
+# External native build folder generated in Android Studio 2.2 and later
 .externalNativeBuild
+.cxx/
+
+# Google Services (e.g. APIs or Firebase)
+google-services.json
+
+# Freeline
+freeline.py
+freeline/
+freeline_project_description.json
+
+# fastlane
+fastlane/report.xml
+fastlane/Preview.html
+fastlane/screenshots
+fastlane/test_output
+fastlane/readme.md
+
+# Version control
+vcs.xml
+
+# lint
+lint/intermediates/
+lint/generated/
+lint/outputs/
+lint/tmp/
+lint/reports/
+
+# Android Profiling
+*.hprof

+ 109 - 25
app/src/.idea/codeStyles/Project.xml

@@ -1,29 +1,113 @@
 <component name="ProjectCodeStyleConfiguration">
   <code_scheme name="Project" version="173">
-    <Objective-C-extensions>
-      <file>
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" />
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" />
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" />
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" />
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" />
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" />
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" />
-      </file>
-      <class>
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" />
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" />
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" />
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" />
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" />
-        <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" />
-      </class>
-      <extensions>
-        <pair source="cpp" header="h" fileNamingConvention="NONE" />
-        <pair source="c" header="h" fileNamingConvention="NONE" />
-      </extensions>
-    </Objective-C-extensions>
+    <codeStyleSettings language="XML">
+      <arrangement>
+        <rules>
+          <section>
+            <rule>
+              <match>
+                <AND>
+                  <NAME>xmlns:android</NAME>
+                  <XML_ATTRIBUTE />
+                  <XML_NAMESPACE>^$</XML_NAMESPACE>
+                </AND>
+              </match>
+            </rule>
+          </section>
+          <section>
+            <rule>
+              <match>
+                <AND>
+                  <NAME>xmlns:.*</NAME>
+                  <XML_ATTRIBUTE />
+                  <XML_NAMESPACE>^$</XML_NAMESPACE>
+                </AND>
+              </match>
+              <order>BY_NAME</order>
+            </rule>
+          </section>
+          <section>
+            <rule>
+              <match>
+                <AND>
+                  <NAME>.*:id</NAME>
+                  <XML_ATTRIBUTE />
+                  <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
+                </AND>
+              </match>
+            </rule>
+          </section>
+          <section>
+            <rule>
+              <match>
+                <AND>
+                  <NAME>.*:name</NAME>
+                  <XML_ATTRIBUTE />
+                  <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
+                </AND>
+              </match>
+            </rule>
+          </section>
+          <section>
+            <rule>
+              <match>
+                <AND>
+                  <NAME>name</NAME>
+                  <XML_ATTRIBUTE />
+                  <XML_NAMESPACE>^$</XML_NAMESPACE>
+                </AND>
+              </match>
+            </rule>
+          </section>
+          <section>
+            <rule>
+              <match>
+                <AND>
+                  <NAME>style</NAME>
+                  <XML_ATTRIBUTE />
+                  <XML_NAMESPACE>^$</XML_NAMESPACE>
+                </AND>
+              </match>
+            </rule>
+          </section>
+          <section>
+            <rule>
+              <match>
+                <AND>
+                  <NAME>.*</NAME>
+                  <XML_ATTRIBUTE />
+                  <XML_NAMESPACE>^$</XML_NAMESPACE>
+                </AND>
+              </match>
+              <order>BY_NAME</order>
+            </rule>
+          </section>
+          <section>
+            <rule>
+              <match>
+                <AND>
+                  <NAME>.*</NAME>
+                  <XML_ATTRIBUTE />
+                  <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
+                </AND>
+              </match>
+              <order>ANDROID_ATTRIBUTE_ORDER</order>
+            </rule>
+          </section>
+          <section>
+            <rule>
+              <match>
+                <AND>
+                  <NAME>.*</NAME>
+                  <XML_ATTRIBUTE />
+                  <XML_NAMESPACE>.*</XML_NAMESPACE>
+                </AND>
+              </match>
+              <order>BY_NAME</order>
+            </rule>
+          </section>
+        </rules>
+      </arrangement>
+    </codeStyleSettings>
   </code_scheme>
 </component>

+ 6 - 0
app/src/.idea/inspectionProfiles/Project_Default.xml

@@ -1,6 +1,12 @@
 <component name="InspectionProjectProfileManager">
   <profile version="1.0">
     <option name="myName" value="Project Default" />
+    <inspection_tool class="AndroidLintTypos" enabled="false" level="WARNING" enabled_by_default="false" />
     <inspection_tool class="RegExpRedundantEscape" enabled="false" level="WARNING" enabled_by_default="false" />
+    <inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false">
+      <option name="processCode" value="true" />
+      <option name="processLiterals" value="true" />
+      <option name="processComments" value="true" />
+    </inspection_tool>
   </profile>
 </component>

+ 40 - 0
app/src/.idea/jarRepositories.xml

@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="RemoteRepositoriesConfiguration">
+    <remote-repository>
+      <option name="id" value="central" />
+      <option name="name" value="Maven Central repository" />
+      <option name="url" value="https://repo1.maven.org/maven2" />
+    </remote-repository>
+    <remote-repository>
+      <option name="id" value="jboss.community" />
+      <option name="name" value="JBoss Community repository" />
+      <option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
+    </remote-repository>
+    <remote-repository>
+      <option name="id" value="BintrayJCenter" />
+      <option name="name" value="BintrayJCenter" />
+      <option name="url" value="https://jcenter.bintray.com/" />
+    </remote-repository>
+    <remote-repository>
+      <option name="id" value="Google" />
+      <option name="name" value="Google" />
+      <option name="url" value="https://dl.google.com/dl/android/maven2/" />
+    </remote-repository>
+    <remote-repository>
+      <option name="id" value="$USER_HOME$/Library/Android/sdk/extras/google/m2repository" />
+      <option name="name" value="$USER_HOME$/Library/Android/sdk/extras/google/m2repository" />
+      <option name="url" value="file:$USER_HOME$/Library/Android/sdk/extras/google/m2repository/" />
+    </remote-repository>
+    <remote-repository>
+      <option name="id" value="$USER_HOME$/Library/Android/sdk/extras/m2repository" />
+      <option name="name" value="$USER_HOME$/Library/Android/sdk/extras/m2repository" />
+      <option name="url" value="file:$USER_HOME$/Library/Android/sdk/extras/m2repository/" />
+    </remote-repository>
+    <remote-repository>
+      <option name="id" value="$USER_HOME$/Library/Android/sdk/extras/android/m2repository" />
+      <option name="name" value="$USER_HOME$/Library/Android/sdk/extras/android/m2repository" />
+      <option name="url" value="file:$USER_HOME$/Library/Android/sdk/extras/android/m2repository/" />
+    </remote-repository>
+  </component>
+</project>

+ 12 - 2
app/src/.idea/misc.xml

@@ -5,7 +5,7 @@
     <option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
     <option name="myNullables">
       <value>
-        <list size="7">
+        <list size="12">
           <item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" />
           <item index="1" class="java.lang.String" itemvalue="javax.annotation.Nullable" />
           <item index="2" class="java.lang.String" itemvalue="javax.annotation.CheckForNull" />
@@ -13,18 +13,28 @@
           <item index="4" class="java.lang.String" itemvalue="android.support.annotation.Nullable" />
           <item index="5" class="java.lang.String" itemvalue="androidx.annotation.Nullable" />
           <item index="6" class="java.lang.String" itemvalue="androidx.annotation.RecentlyNullable" />
+          <item index="7" class="java.lang.String" itemvalue="android.annotation.Nullable" />
+          <item index="8" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.qual.Nullable" />
+          <item index="9" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NullableDecl" />
+          <item index="10" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NullableType" />
+          <item index="11" class="java.lang.String" itemvalue="com.android.annotations.Nullable" />
         </list>
       </value>
     </option>
     <option name="myNotNulls">
       <value>
-        <list size="6">
+        <list size="11">
           <item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.NotNull" />
           <item index="1" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
           <item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.NonNull" />
           <item index="3" class="java.lang.String" itemvalue="android.support.annotation.NonNull" />
           <item index="4" class="java.lang.String" itemvalue="androidx.annotation.NonNull" />
           <item index="5" class="java.lang.String" itemvalue="androidx.annotation.RecentlyNonNull" />
+          <item index="6" class="java.lang.String" itemvalue="android.annotation.NonNull" />
+          <item index="7" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.qual.NonNull" />
+          <item index="8" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NonNullDecl" />
+          <item index="9" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NonNullType" />
+          <item index="10" class="java.lang.String" itemvalue="com.android.annotations.NonNull" />
         </list>
       </value>
     </option>

+ 3 - 0
app/src/.idea/scopes/Project_sauce.xml

@@ -0,0 +1,3 @@
+<component name="DependencyValidationManager">
+  <scope name="Project sauce" pattern="file:src/main/java//*||file:src/main/res//*||file:*.gradle||file:AndroidManifest.xml" />
+</component>

+ 0 - 1
app/src/app_rem0t0/.gitignore

@@ -1 +0,0 @@
-/build

+ 6 - 9
app/src/app_rem0t0/build.gradle

@@ -32,25 +32,21 @@ android {
 	}
 
 	def versionPropsFile = file('version.properties')
-	def vcode = 0
+	def vcode = 0 // Apparently Gradle builds it twice the initial time, so by setting this to 0 it will become 1 when Gradle's done
 	Properties versionProps = new Properties()
 	if(versionPropsFile.canRead()) {
 		versionProps.load(new FileInputStream(versionPropsFile))
-
 		vcode = versionProps['VERSION_CODE'].toInteger() + 1
-		versionProps['VERSION_CODE'] = vcode.toString()
-		versionProps.store(versionPropsFile.newWriter(), null)
-	}
-	else {
-		throw new GradleException("Could not read version.properties!")
 	}
+	versionProps['VERSION_CODE'] = vcode.toString()
+	versionProps.store(versionPropsFile.newWriter(), null)
 
 	compileSdkVersion 28
 	defaultConfig {
 		applicationId "com.jemoeder.lief.rem0t0"
-		minSdkVersion 25 //27
+		minSdkVersion 25
 		//noinspection ExpiredTargetSdkVersion ZERO FUCKS GIVEN (ain't publishan on Jewgle gay st0re anyways so)
-		targetSdkVersion 25 //27
+		targetSdkVersion 25
 		testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
 		signingConfig signingConfigs.muhconfig
 		versionCode vcode
@@ -63,6 +59,7 @@ android {
 			signingConfig signingConfigs.muhconfig
 		}
 		debug {
+			minifyEnabled false // Explicitly disable lmao
 			signingConfig signingConfigs.muhconfig
 		}
 

+ 1 - 0
app/src/app_rem0t0/src/androidTest/java/com/jemoeder/lief/rem0t0/ExampleInstrumentedTest.java

@@ -16,6 +16,7 @@ import static org.junit.Assert.*;
  */
 @RunWith(AndroidJUnit4.class)
 class ExampleInstrumentedTest {
+	@SuppressWarnings("unused")
 	@Test
 	public void useAppContext() {
 		// Context of the app under test.

+ 2 - 4
app/src/app_rem0t0/src/main/AndroidManifest.xml

@@ -2,7 +2,7 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
 	xmlns:tools="http://schemas.android.com/tools"
 	package="com.jemoeder.lief.rem0t0"
-	android:versionName="1.1.1">
+	android:versionName="1.1.3">
 
 	<!-- Need an internet connection to work 0bv lol -->
 	<uses-permission android:name="android.permission.INTERNET" />
@@ -49,9 +49,7 @@
 		<service
 			android:name="com.jemoeder.lief.rem0t0.rem0t0Service"
 			android:enabled="true"
-			android:exported="true"
-			android:permission=""
-			tools:ignore="ExportedService" />
+			android:exported="false" />
 	</application>
 
 </manifest>

+ 20 - 17
app/src/app_rem0t0/src/main/java/com/jemoeder/lief/rem0t0/MainActivity.java

@@ -127,9 +127,9 @@ public class MainActivity extends AppCompatActivity {
 	@SuppressLint("UseSparseArrays") static private final Map<Integer, String> demtabs = new HashMap<>();
 	Resources muhres;
 	boolean serverexit = false;
-	private HashMap<String, View> muhviews = new HashMap<>();
+	private final HashMap<String, View> muhviews = new HashMap<>();
 
-	@SuppressLint("CommitPrefEdits")
+	@SuppressLint({"CommitPrefEdits", "ApplySharedPref", "DefaultLocale"})
 	@Override
 	protected void onCreate(Bundle savedInstanceState) {
 		super.onCreate(savedInstanceState);
@@ -191,7 +191,7 @@ public class MainActivity extends AppCompatActivity {
 		if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
 			if(!wrapass.muhprefs.getBoolean("deleted_notifchan_20191209", false)) {
 				wrapass.notifMan.deleteNotificationChannel(muhchanActive);
-				wrapass.muhprefs_ed.putBoolean("deleted_notifchan_20191209", true).apply();
+				wrapass.muhprefs_ed.putBoolean("deleted_notifchan_20191209", true).commit();
 			}
 
 			NotificationChannel notifChannel = new NotificationChannel(muhchanActive, muhchanActive, NotificationManager.IMPORTANCE_HIGH);
@@ -208,15 +208,18 @@ public class MainActivity extends AppCompatActivity {
 		sb_bgcol_err = ContextCompat.getColor(muhctx, R.color.snackbar_background_err);
 		sb_tcol = ContextCompat.getColor(muhctx, R.color.snackbar_text);
 
+		// This shit can't really fail, it's mostly to silence the warnings/possibly err0rs you'd otherwise get
 		try {
 			PackageInfo pInfo = getPackageManager().getPackageInfo(getPackageName(), 0);
 			String version = pInfo.versionName;
 			int build = pInfo.versionCode;
-			wrapass.muhprefs_ed.putString("prefs_versionbuild", "v" + version + " build " + build).apply();
+			String buildtype = BuildConfig.BUILD_TYPE;
+
+			wrapass.muhprefs_ed.putString("prefs_versionbuild", String.format("v%s build %d (%s)", version, build, buildtype)).commit();
 		} catch(Exception fuckoff) { /* No flying fucks given */ }
 
 		// Always show this shit on the l0cc screen imo fam ;];];]];];];]
-		@SuppressWarnings("deprecation") int flags = WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON
+		int flags = WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON
 				| WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED
 				| WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON
 				| WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD;
@@ -363,6 +366,7 @@ public class MainActivity extends AppCompatActivity {
 		try {
 			if(muhviews.containsKey(origcmd)) {
 				TextView tv_label = (TextView)muhviews.get(origcmd);
+				//noinspection ConstantConditions
 				tv_label.setText(retstr);
 			}
 		} catch(Exception fuckoff) {/* No flying fucks given */ }
@@ -658,7 +662,6 @@ public class MainActivity extends AppCompatActivity {
 
 		private class rem0t0TouchListener implements View.OnTouchListener {
 			private Timer muhtimer = new Timer();
-			private final long longpress_timeout = ms_hold;
 			private boolean longpress = false;
 			private final int tabpos;
 			private boolean ourpress = false;
@@ -729,7 +732,7 @@ public class MainActivity extends AppCompatActivity {
 								v.performClick();
 								muhmain.muhcmds.add(cmdbase + cmdsuffix_hold + " " + cmd);
 							}
-						}, longpress_timeout);
+						}, ms_hold);
 						break;
 
 					case MotionEvent.ACTION_UP:
@@ -771,7 +774,7 @@ public class MainActivity extends AppCompatActivity {
 			private final String cmdbase;
 			private int sb_pos;
 			private int sb_last;
-			private TextView sb_label;
+			private final TextView sb_label;
 
 			private Vibrator vib0;
 
@@ -802,7 +805,7 @@ public class MainActivity extends AppCompatActivity {
 				final String rotatem = String.valueOf(progress);
 				if(sb_pos != sb_last) {
 					wrapass.muhprefs_ed.putInt("lastval_esp8266_ac_servo_rotate", progress);
-					wrapass.muhprefs_ed.apply();
+					wrapass.muhprefs_ed.commit();
 
 					if(vib0 != null && wrapass.muhprefs.getBoolean("prefs_rem0t0_haptic", true))
 						vib0.vibrate(vibems_tap);
@@ -827,14 +830,14 @@ public class MainActivity extends AppCompatActivity {
 
 	// Custom AnyTrust class to just trust everything
 	@SuppressLint("TrustAllX509TrustManager")
-	public class AnyTrust extends X509ExtendedTrustManager {
+	public static class AnyTrust extends X509ExtendedTrustManager {
 		private final java.security.cert.X509Certificate[] ANY_CA = {};
 		@Override public java.security.cert.X509Certificate[] getAcceptedIssuers() { return ANY_CA; }
-		@Override public void checkServerTrusted(final java.security.cert.X509Certificate[] c, final String t)  {}
-		@Override public void checkClientTrusted(final java.security.cert.X509Certificate[] c, final String t)  { }
-		@Override public void checkServerTrusted(final java.security.cert.X509Certificate[] c, final String t, final SSLEngine e)  { }
-		@Override public void checkServerTrusted(final java.security.cert.X509Certificate[] c, final String t, final Socket e)  { }
-		@Override public void checkClientTrusted(final java.security.cert.X509Certificate[] c, final String t, final SSLEngine e)  { }
-		@Override public void checkClientTrusted(final java.security.cert.X509Certificate[] c, final String t, final Socket    e)  { }
+		@Override public void checkServerTrusted(final java.security.cert.X509Certificate[] c, final String t) { }
+		@Override public void checkClientTrusted(final java.security.cert.X509Certificate[] c, final String t) { }
+		@Override public void checkServerTrusted(final java.security.cert.X509Certificate[] c, final String t, final SSLEngine e) { }
+		@Override public void checkServerTrusted(final java.security.cert.X509Certificate[] c, final String t, final Socket e) { }
+		@Override public void checkClientTrusted(final java.security.cert.X509Certificate[] c, final String t, final SSLEngine e) { }
+		@Override public void checkClientTrusted(final java.security.cert.X509Certificate[] c, final String t, final Socket e) { }
 	}
-}
+}

+ 2 - 1
app/src/app_rem0t0/src/main/java/com/jemoeder/lief/rem0t0/muhSender.java

@@ -59,6 +59,7 @@ class muhSender extends AsyncTask<Void, Void, Void> {
 					// If we quitting, make sure to remove _all_ currently buffered commands by getting the size again ;]
 					if(quit)
 						cmdsize = muhmain.muhcmds.size();
+					//noinspection ListRemoveInLoop
 					for(int i = 0; i < cmdsize; i++)
 						muhmain.muhcmds.remove(0);
 					if(quit) {
@@ -139,4 +140,4 @@ class muhSender extends AsyncTask<Void, Void, Void> {
 			}
 		});
 	}
-}
+}

+ 2 - 2
app/src/app_rem0t0/src/main/res/drawable/drw_rem0t0_rewind.xml

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
-<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
 	<item
 		android:drawable="@drawable/ic_rem0t0_rewind"
 		android:width="@dimen/rem0t0_btn_iconsize"
 		android:height="@dimen/rem0t0_btn_iconsize" />
-</layer-list >
+</layer-list>

+ 1 - 2
app/src/app_rem0t0/src/main/res/drawable/drw_rem0t0_seekbar_thumb.xml

@@ -2,8 +2,7 @@
 <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
 	<!-- Styles of the seekbar thumb has to be a different file apparently -->
 	<item>
-		<shape xmlns:android="http://schemas.android.com/apk/res/android"
-			android:shape="oval">
+		<shape android:shape="oval">
 			<size
 				android:height="@dimen/rem0t0_seekbar_thumbsize"
 				android:width="@dimen/rem0t0_seekbar_thumbsize" />

+ 2 - 2
app/src/app_rem0t0/src/main/res/layout/muhactionbar.xml

@@ -4,7 +4,7 @@
 	android:layout_width="match_parent"
 	android:layout_height="match_parent">
 
-	<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+	<android.support.constraint.ConstraintLayout
 		android:layout_width="match_parent"
 		android:layout_height="wrap_content">
 
@@ -46,4 +46,4 @@
 			app:layout_constraintBottom_toBottomOf="parent" />
 
 		</android.support.constraint.ConstraintLayout>
-</android.support.design.widget.CoordinatorLayout>
+</android.support.design.widget.CoordinatorLayout>

+ 19 - 10
app/src/app_rem0t0/src/main/res/layout/rem0t0_esp8266_ac.xml

@@ -10,12 +10,11 @@
 		android:layout_width="match_parent"
 		android:layout_height="match_parent">
 
-		<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+		<android.support.constraint.ConstraintLayout
 			android:layout_width="wrap_content"
 			android:layout_height="wrap_content"
 			android:layout_gravity="center_horizontal"
-			android:layout_marginTop="@dimen/rem0t0_top_margin"
-			xmlns:app="http://schemas.android.com/apk/res-auto">
+			android:layout_marginTop="@dimen/rem0t0_top_margin">
 
 			<android.support.constraint.ConstraintLayout
 				android:id="@+id/btngroup_read_temp"
@@ -39,7 +38,7 @@
 					android:textSize="@dimen/rem0t0_grouplabel_txtsize"
 					android:textStyle="bold"
 					android:text="@string/rem0t0btn_esp8266_ac_grouplabel_read_temp"
-					android:layout_marginTop="@dimen/rem0t0_grouplabel_margin"
+					app:layout_constraintTop_toTopOf="parent"
 					app:layout_constraintStart_toStartOf="parent"
 					app:layout_constraintEnd_toEndOf="parent" />
 
@@ -97,6 +96,7 @@
 					android:textSize="@dimen/rem0t0_grouplabel_txtsize"
 					android:textStyle="bold"
 					android:text="@string/rem0t0btn_esp8266_ac_grouplabel_servo"
+					app:layout_constraintTop_toTopOf="parent"
 					app:layout_constraintStart_toStartOf="parent"
 					app:layout_constraintEnd_toEndOf="parent" />
 
@@ -118,7 +118,8 @@
 						android:progress="1500"
 						android:progressDrawable="@drawable/drw_rem0t0_seekbar"
 						android:thumb="@drawable/drw_rem0t0_seekbar_thumb"
-						android:splitTrack="false" />
+						android:splitTrack="false"
+						app:layout_constraintTop_toTopOf="parent" />
 				</android.support.constraint.ConstraintLayout>
 
 				<!-- The android:text value for this shit should match the android:progress value of em SeekBar ;] -->
@@ -218,7 +219,9 @@
 					android:layout_height="@dimen/rem0t0_btn_size"
 					android:background="@drawable/roundcorners"
 					android:backgroundTint="@color/rem0t0_esp8266_ac_led_onboard"
-					android:foreground="@drawable/roundcorners" />
+					android:foreground="@drawable/roundcorners"
+					app:layout_constraintTop_toTopOf="parent"
+					app:layout_constraintStart_toStartOf="parent" />
 
 				<Button
 					android:id="@+id/btn_led_onboard_off"
@@ -253,7 +256,9 @@
 					android:layout_height="@dimen/rem0t0_btn_size"
 					android:background="@drawable/roundcorners"
 					android:backgroundTint="@color/rem0t0_esp8266_ac_led_flasher"
-					android:foreground="@drawable/roundcorners" />
+					android:foreground="@drawable/roundcorners"
+					app:layout_constraintTop_toTopOf="parent"
+					app:layout_constraintStart_toStartOf="parent" />
 
 				<Button
 					android:id="@+id/btn_led_flasher_off"
@@ -288,7 +293,9 @@
 					android:layout_height="@dimen/rem0t0_btn_size"
 					android:background="@drawable/roundcorners"
 					android:backgroundTint="@color/rem0t0_esp8266_ac_led_error"
-					android:foreground="@drawable/roundcorners" />
+					android:foreground="@drawable/roundcorners"
+					app:layout_constraintTop_toTopOf="parent"
+					app:layout_constraintStart_toStartOf="parent" />
 
 				<Button
 					android:id="@+id/btn_led_error_off"
@@ -323,7 +330,9 @@
 					android:layout_height="@dimen/rem0t0_btn_size"
 					android:background="@drawable/roundcorners"
 					android:backgroundTint="@color/rem0t0_esp8266_ac_led_http"
-					android:foreground="@drawable/roundcorners" />
+					android:foreground="@drawable/roundcorners"
+					app:layout_constraintTop_toTopOf="parent"
+					app:layout_constraintStart_toStartOf="parent" />
 
 				<Button
 					android:id="@+id/btn_led_http_off"
@@ -352,4 +361,4 @@
 				app:layout_constraintStart_toStartOf="parent" />
 		</android.support.constraint.ConstraintLayout>
 	</ScrollView>
-</android.support.design.widget.CoordinatorLayout>
+</android.support.design.widget.CoordinatorLayout>

+ 4 - 4
app/src/app_rem0t0/src/main/res/layout/rem0t0_hdmiswitch.xml

@@ -10,13 +10,12 @@
 		android:layout_width="match_parent"
 		android:layout_height="match_parent">
 
-		<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+		<android.support.constraint.ConstraintLayout
 			android:layout_width="match_parent"
 			android:layout_height="wrap_content"
 			android:layout_marginTop="@dimen/rem0t0_top_margin"
 			android:paddingStart="@dimen/rem0t0_hdmi_parent_margin"
-			android:paddingEnd="@dimen/rem0t0_hdmi_parent_margin"
-			xmlns:app="http://schemas.android.com/apk/res-auto">
+			android:paddingEnd="@dimen/rem0t0_hdmi_parent_margin">
 
 			<Button
 				android:id="@+id/btn_1"
@@ -30,6 +29,7 @@
 				android:textColor="@color/rem0t0_hdmi_btntxt"
 				android:textSize="@dimen/rem0t0_btn_txtsize"
 				android:text="@string/rem0t0btn_hdmi_1"
+				app:layout_constraintTop_toTopOf="parent"
 				app:layout_constraintStart_toStartOf="parent"
 				app:layout_constraintEnd_toEndOf="parent" />
 			<EditText
@@ -190,4 +190,4 @@
 				app:layout_constraintStart_toStartOf="parent" />
 		</android.support.constraint.ConstraintLayout>
 	</ScrollView>
-</android.support.design.widget.CoordinatorLayout>
+</android.support.design.widget.CoordinatorLayout>

+ 9 - 6
app/src/app_rem0t0/src/main/res/layout/rem0t0_ledstrip.xml

@@ -13,12 +13,11 @@
 		android:layout_width="match_parent"
 		android:layout_height="match_parent">
 
-		<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+		<android.support.constraint.ConstraintLayout
 			android:layout_width="wrap_content"
 			android:layout_height="wrap_content"
 			android:layout_gravity="center_horizontal"
-			android:layout_marginTop="@dimen/rem0t0_top_margin"
-			xmlns:app="http://schemas.android.com/apk/res-auto">
+			android:layout_marginTop="@dimen/rem0t0_top_margin">
 
 			<android.support.constraint.ConstraintLayout
 				android:id="@+id/btngroup_updown"
@@ -42,7 +41,9 @@
 					android:background="@drawable/roundcorners"
 					android:backgroundTint="@color/rem0t0_led_up"
 					android:foreground="@drawable/roundcorners"
-					tools:ignore="RtlSymmetry" />
+					tools:ignore="RtlSymmetry"
+					app:layout_constraintTop_toTopOf="parent"
+					app:layout_constraintStart_toStartOf="parent" />
 				<Button
 					android:id="@+id/btn_down"
 					android:tag="down"
@@ -84,7 +85,9 @@
 					android:textColor="@color/rem0t0_led_btntxt"
 					android:textAllCaps="false"
 					android:textSize="@dimen/rem0t0_btn_txtsize"
-					android:text="@string/rem0t0btn_led_poweroff" />
+					android:text="@string/rem0t0btn_led_poweroff"
+					app:layout_constraintTop_toTopOf="parent"
+					app:layout_constraintStart_toStartOf="parent" />
 				<Button
 					android:id="@+id/btn_poweron"
 					android:tag="poweron"
@@ -387,4 +390,4 @@
 				app:layout_constraintStart_toStartOf="parent" />
 		</android.support.constraint.ConstraintLayout>
 	</ScrollView>
-</android.support.design.widget.CoordinatorLayout>
+</android.support.design.widget.CoordinatorLayout>

+ 18 - 8
app/src/app_rem0t0/src/main/res/layout/rem0t0_stereo.xml

@@ -10,12 +10,11 @@
 		android:layout_width="match_parent"
 		android:layout_height="match_parent">
 
-		<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+		<android.support.constraint.ConstraintLayout
 			android:layout_width="wrap_content"
 			android:layout_height="wrap_content"
 			android:layout_gravity="center_horizontal"
-			android:layout_marginTop="@dimen/rem0t0_top_margin"
-			xmlns:app="http://schemas.android.com/apk/res-auto">
+			android:layout_marginTop="@dimen/rem0t0_top_margin">
 
 			<Button
 				android:id="@+id/btn_1"
@@ -305,6 +304,7 @@
 					android:textSize="@dimen/rem0t0_grouplabel_txtsize"
 					android:textStyle="bold"
 					android:text="@string/rem0t0btn_stereo_grouplabel_ipod"
+					app:layout_constraintTop_toTopOf="parent"
 					app:layout_constraintStart_toStartOf="parent"
 					app:layout_constraintEnd_toEndOf="parent" />
 
@@ -462,6 +462,7 @@
 				android:backgroundTint="@color/rem0t0_stereo_btngroup"
 				android:layout_marginTop="@dimen/rem0t0_btn_margin"
 				app:layout_constraintTop_toBottomOf="@id/btngroup_ipod"
+				app:layout_constraintStart_toStartOf="parent"
 				android:padding="@dimen/rem0t0_btngroup_withlabel_padding">
 
 				<TextView
@@ -473,6 +474,7 @@
 					android:textSize="@dimen/rem0t0_grouplabel_txtsize"
 					android:textStyle="bold"
 					android:text="@string/rem0t0btn_stereo_grouplabel_cd"
+					app:layout_constraintTop_toTopOf="parent"
 					app:layout_constraintStart_toStartOf="parent"
 					app:layout_constraintEnd_toEndOf="parent" />
 
@@ -489,6 +491,7 @@
 					android:foreground="@drawable/roundcorners"
 					android:layout_marginTop="@dimen/rem0t0_grouplabel_margin"
 					app:layout_constraintTop_toBottomOf="@id/grouplabel_cd"
+					app:layout_constraintStart_toStartOf="parent"
 					tools:ignore="RtlSymmetry" />
 				<Button
 					android:id="@+id/btn_cd_stop"
@@ -528,6 +531,7 @@
 					android:textSize="@dimen/rem0t0_grouplabel_txtsize"
 					android:textStyle="bold"
 					android:text="@string/rem0t0btn_stereo_grouplabel_input"
+					app:layout_constraintTop_toTopOf="parent"
 					app:layout_constraintStart_toStartOf="parent"
 					app:layout_constraintEnd_toEndOf="parent" />
 
@@ -545,8 +549,10 @@
 					android:textSize="@dimen/rem0t0_btn_txtsize"
 					android:text="@string/rem0t0btn_stereo_aux"
 					android:layout_marginTop="@dimen/rem0t0_grouplabel_margin"
-					android:layout_marginStart="@dimen/rem0t0_btn_margin"
-					app:layout_constraintTop_toBottomOf="@id/grouplabel_input" />
+					app:layout_constraintTop_toBottomOf="@id/grouplabel_input"
+					app:layout_constraintStart_toStartOf="parent"
+					tools:ignore="RtlSymmetry"
+					/>
 				<Button
 					android:id="@+id/btn_fm_am"
 					android:tag="fm_am"
@@ -724,7 +730,9 @@
 					android:textColor="@color/rem0t0_stereo_btntxt"
 					android:textAllCaps="false"
 					android:textSize="@dimen/rem0t0_btn_txtsize"
-					android:text="@string/rem0t0btn_stereo_rdsdisplay" />
+					android:text="@string/rem0t0btn_stereo_rdsdisplay"
+					app:layout_constraintTop_toTopOf="parent"
+					app:layout_constraintStart_toStartOf="parent" />
 				<Button
 					android:id="@+id/btn_ptysearch"
 					android:tag="ptysearch"
@@ -801,7 +809,9 @@
 					android:textColor="@color/rem0t0_stereo_btntxt"
 					android:textAllCaps="false"
 					android:textSize="@dimen/rem0t0_btn_txtsize"
-					android:text="@string/rem0t0btn_stereo_autostandby" />
+					android:text="@string/rem0t0btn_stereo_autostandby"
+					app:layout_constraintTop_toTopOf="parent"
+					app:layout_constraintStart_toStartOf="parent" />
 				<Button
 					android:id="@+id/btn_fademute"
 					android:tag="fademute"
@@ -862,4 +872,4 @@
 				app:layout_constraintStart_toStartOf="parent" />
 		</android.support.constraint.ConstraintLayout>
 	</ScrollView>
-</android.support.design.widget.CoordinatorLayout>
+</android.support.design.widget.CoordinatorLayout>

+ 15 - 6
app/src/app_rem0t0/src/main/res/layout/rem0t0_tv.xml

@@ -10,12 +10,11 @@
 		android:layout_width="match_parent"
 		android:layout_height="match_parent">
 
-		<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+		<android.support.constraint.ConstraintLayout
 			android:layout_width="wrap_content"
 			android:layout_height="wrap_content"
 			android:layout_gravity="center_horizontal"
-			android:layout_marginTop="@dimen/rem0t0_top_margin"
-			xmlns:app="http://schemas.android.com/apk/res-auto">
+			android:layout_marginTop="@dimen/rem0t0_top_margin">
 
 			<Button
 				android:id="@+id/btn_power"
@@ -46,6 +45,7 @@
 				android:textSize="@dimen/rem0t0_btn_txtsize"
 				android:text="@string/rem0t0btn_tv_source"
 				android:layout_marginStart="@dimen/rem0t0_btn_margin"
+				app:layout_constraintTop_toTopOf="@id/btn_power"
 				app:layout_constraintStart_toEndOf="@id/btn_power" />
 			<Button
 				android:id="@+id/btn_ttx"
@@ -61,6 +61,7 @@
 				android:textSize="@dimen/rem0t0_btn_txtsize"
 				android:text="@string/rem0t0btn_tv_ttx"
 				android:layout_marginStart="@dimen/rem0t0_btn_margin"
+				app:layout_constraintTop_toTopOf="@id/btn_source"
 				app:layout_constraintStart_toEndOf="@id/btn_source" />
 			<Button
 				android:id="@+id/btn_prech"
@@ -76,6 +77,7 @@
 				android:textSize="@dimen/rem0t0_btn_txtsize"
 				android:text="@string/rem0t0btn_tv_prech"
 				android:layout_marginStart="@dimen/rem0t0_btn_margin"
+				app:layout_constraintTop_toTopOf="@id/btn_ttx"
 				app:layout_constraintStart_toEndOf="@id/btn_ttx" />
 
 
@@ -302,6 +304,7 @@
 					android:textSize="@dimen/rem0t0_grouplabel_txtsize"
 					android:textStyle="bold"
 					android:text="@string/rem0t0btn_tv_grouplabel_volume"
+					app:layout_constraintTop_toTopOf="parent"
 					app:layout_constraintStart_toStartOf="parent"
 					app:layout_constraintEnd_toEndOf="parent" />
 
@@ -378,6 +381,7 @@
 					android:textSize="@dimen/rem0t0_grouplabel_txtsize"
 					android:textStyle="bold"
 					android:text="@string/rem0t0btn_tv_grouplabel_channels"
+					app:layout_constraintTop_toTopOf="parent"
 					app:layout_constraintStart_toStartOf="parent"
 					app:layout_constraintEnd_toEndOf="parent" />
 
@@ -470,6 +474,7 @@
 					android:textSize="@dimen/rem0t0_grouplabel_txtsize"
 					android:textStyle="bold"
 					android:text="@string/rem0t0btn_tv_grouplabel_menu"
+					app:layout_constraintTop_toTopOf="parent"
 					app:layout_constraintStart_toStartOf="parent"
 					app:layout_constraintEnd_toEndOf="parent" />
 
@@ -651,7 +656,8 @@
 					android:textAllCaps="false"
 					android:textSize="@dimen/rem0t0_btn_txtsize"
 					android:text="@string/rem0t0btn_tv_a"
-					android:layout_marginStart="@dimen/rem0t0_btn_margin" />
+					app:layout_constraintTop_toTopOf="parent"
+					app:layout_constraintStart_toStartOf="parent" />
 				<Button
 					android:id="@+id/btn_b"
 					android:tag="b"
@@ -726,7 +732,9 @@
 					android:textSize="@dimen/rem0t0_btn_txtsize"
 					android:text="@string/rem0t0btn_tv_pip"
 					android:layout_marginTop="@dimen/rem0t0_btn_margin"
-					android:layout_marginStart="@dimen/rem0t0_btngroup_padding" />
+					android:layout_marginStart="@dimen/rem0t0_btngroup_padding"
+					app:layout_constraintTop_toTopOf="parent"
+					app:layout_constraintStart_toStartOf="parent" />
 				<Button
 					android:id="@+id/btn_psize"
 					android:tag="psize"
@@ -786,6 +794,7 @@
 					android:background="@drawable/roundcorners"
 					android:backgroundTint="@color/rem0t0_tv_btn"
 					android:foreground="@drawable/roundcorners"
+					app:layout_constraintTop_toTopOf="parent"
 					app:layout_constraintStart_toStartOf="parent"
 					app:layout_constraintEnd_toEndOf="parent"
 					tools:ignore="RtlSymmetry" />
@@ -862,4 +871,4 @@
 				app:layout_constraintStart_toStartOf="parent" />
 		</android.support.constraint.ConstraintLayout>
 	</ScrollView>
-</android.support.design.widget.CoordinatorLayout>
+</android.support.design.widget.CoordinatorLayout>

+ 0 - 1
app/src/app_rem0t0/src/main/res/values/colors.xml

@@ -17,7 +17,6 @@
 
 	!-- We also hav cust0m stylin for seekbars ;];] -->
 	<color name="rem0t0_seekbar_thumb">@color/colorAccent</color>
-	<color name="rem0t0_seekbar_progressback">#ABABAB</color>
 	<color name="rem0t0_seekbar_progress">@color/gucci</color>
 	<color name="rem0t0_seekbar_progress2">@color/RIP</color>
 

+ 0 - 4
app/src/app_rem0t0/src/main/res/values/dimens.xml

@@ -59,10 +59,6 @@
 	<dimen name="rem0t0_tv_menu_margin">50dp</dimen>
 
 	<!-- esp8266-ac imo tbh -->
-	<dimen name="rem0t0_esp8266_ac_group_margin">45dp</dimen>
 	<dimen name="rem0t0_esp8266_ac_read_temp_offset_top">48dp</dimen>
-	<dimen name="rem0t0_esp8266_ac_servo_rotate_desctxt">18sp</dimen>
-	<dimen name="rem0t0_esp8266_ac_servo_rotate_desctxt_margin">25dp</dimen>
-	<dimen name="rem0t0_esp8266_ac_servo_rotate_margin">20dp</dimen>
 	<dimen name="rem0t0_esp8266_ac_servo_rotate_labeltxt">12sp</dimen>
 </resources>

+ 3 - 2
app/src/app_rem0t0/src/main/res/xml/network_security_config.xml

@@ -1,9 +1,10 @@
 <?xml version="1.0" encoding="utf-8"?>
-<network-security-config>
+<network-security-config xmlns:tools="http://schemas.android.com/tools">
 	<base-config>
 		<trust-anchors>
 			<!-- Trust all user-installed certificate authorities found under system settings (Settings > Security > Credentials > Trusted CAs or smt similar) -->
-			<certificates src="user" />
+			<certificates src="user"
+				tools:ignore="AcceptsUserCertificates" />
 			<certificates src="system" />
 		</trust-anchors>
 	</base-config>

+ 2 - 2
app/src/app_rem0t0/version.properties

@@ -1,2 +1,2 @@
-#Sun Jul 12 12:28:01 CEST 2020
-VERSION_CODE=355
+#Thu Aug 13 19:43:48 CEST 2020
+VERSION_CODE=363

+ 1 - 1
app/src/build.gradle

@@ -6,7 +6,7 @@ buildscript {
 		jcenter()
 	}
 	dependencies {
-		classpath 'com.android.tools.build:gradle:3.2.0'
+		classpath 'com.android.tools.build:gradle:4.0.1'
 		// NOTE: Do not place your application dependencies here; they belong
 		// in the individual module build.gradle files
 	}

+ 2 - 1
app/src/gradle/wrapper/gradle-wrapper.properties

@@ -1,5 +1,6 @@
+#Thu Aug 13 18:07:02 CEST 2020
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip

ass/scr0t_esp8266_ac.png → ass/scr0ts/esp8266_ac.png


ass/scr0t_hdmi.png → ass/scr0ts/hdmi.png


ass/scr0t_led.png → ass/scr0ts/led.png


ass/scr0t_stereo.png → ass/scr0ts/stereo.png


ass/scr0t_tv.png → ass/scr0ts/tv.png