Skip to content

Commit

Permalink
android
Browse files Browse the repository at this point in the history
  • Loading branch information
DerGoogler committed Jun 7, 2024
1 parent a41febd commit 607144c
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ def cur_time = System.currentTimeMillis()

android {
compileSdk pkg.config.target_sdk
namespace pkg.config.application_id

defaultConfig {
applicationId pkg.config.application_id
Expand Down Expand Up @@ -79,6 +80,8 @@ dependencies {
implementation "androidx.appcompat:appcompat:1.6.1"
implementation 'androidx.core:core:1.13.1'
implementation 'androidx.webkit:webkit:1.11.0'
implementation 'androidx.profileinstaller:profileinstaller:1.3.1'
implementation 'androidx.room:room-runtime:2.6.1'

implementation "com.github.topjohnwu.libsu:core:5.2.1"
implementation "com.github.topjohnwu.libsu:io:5.2.1"
Expand Down
40 changes: 38 additions & 2 deletions Android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.dergoogler.mmrl">
android:installLocation="internalOnly">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="29" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="29"
tools:ignore="ScopedStorage" />
<uses-permission
android:name="android.permission.MANAGE_EXTERNAL_STORAGE"
tools:ignore="ScopedStorage" />
<uses-permission-sdk-23 android:name="android.permission.QUERY_ALL_PACKAGES" />
<uses-permission android:name="android.permission.WAKE_LOCK" />


<permission
android:name="${applicationId}.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION"
android:protectionLevel="signature"
tools:node="remove" />

<uses-permission
android:name="${applicationId}.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION"
tools:node="remove" />

<queries>
<package android:name="com.topjohnwu.magisk" />
Expand All @@ -21,9 +43,10 @@
android:requestLegacyExternalStorage="true"
android:theme="@style/AppTheme.SplashScreen"
tools:ignore="GoogleAppIndexingWarning"
android:appCategory="productivity"
tools:targetApi="q">
<activity
android:name="com.dergoogler.mmrl.MainActivity"
android:name=".MainActivity"
android:configChanges="orientation|screenSize"
android:exported="true"
android:windowSoftInputMode="adjustResize"
Expand All @@ -45,5 +68,18 @@
android:scheme="https" />
</intent-filter>
</activity>

<service
android:name="androidx.room.MultiInstanceInvalidationService"
tools:node="remove" />

<provider
android:name="androidx.startup.InitializationProvider"
android:authorities="${applicationId}.androidx-startup"
tools:node="remove" />

<receiver
android:name="androidx.profileinstaller.ProfileInstallReceiver"
tools:node="remove" />
</application>
</manifest>
Binary file modified assets/MMRL-Cover.sketch
Binary file not shown.
Binary file modified www/assets/MMRL-Cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 607144c

Please sign in to comment.