mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
## Description A brain dump documenting many classes and functions throughout the app. Definitely does not document everything, but covers most of the major components. This should be useful for new contributors. There is a small amount of code clean up too. There are no user facing changes. ### Related issues N/A ### Testing N/A ## Screenshots N/A ## AI or LLM usage None
36 lines
1.6 KiB
Diff
36 lines
1.6 KiB
Diff
# This patches Wholphin for releasing on app stores where self updating is not permitted
|
|
|
|
diff --git i/app/src/main/AndroidManifest.xml w/app/src/main/AndroidManifest.xml
|
|
index 4479ae86..80596698 100644
|
|
--- i/app/src/main/AndroidManifest.xml
|
|
+++ w/app/src/main/AndroidManifest.xml
|
|
@@ -6,7 +6,6 @@
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
- <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
|
<uses-permission
|
|
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
|
android:maxSdkVersion="28" />
|
|
@@ -20,7 +19,7 @@
|
|
android:required="false" />
|
|
<uses-feature
|
|
android:name="android.software.leanback"
|
|
- android:required="false" />
|
|
+ android:required="true" />
|
|
<uses-feature
|
|
android:name="android.hardware.microphone"
|
|
android:required="false" />
|
|
diff --git i/app/src/main/java/com/github/damontecres/wholphin/services/UpdateChecker.kt w/app/src/main/java/com/github/damontecres/wholphin/services/UpdateChecker.kt
|
|
index 9e0665dd..bc1e1c16 100644
|
|
--- i/app/src/main/java/com/github/damontecres/wholphin/services/UpdateChecker.kt
|
|
+++ w/app/src/main/java/com/github/damontecres/wholphin/services/UpdateChecker.kt
|
|
@@ -65,7 +65,7 @@ class UpdateChecker
|
|
|
|
private val NOTE_REGEX = Regex("<!-- app-note:(.+) -->")
|
|
|
|
- val ACTIVE = true
|
|
+ val ACTIVE = false
|
|
}
|
|
|
|
/**
|