summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/src/main/AndroidManifest.xml71
1 files changed, 46 insertions, 25 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index ad3c2ca..c438302 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -1,32 +1,34 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.xc3fff0e.xmanager">
- <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"/>
- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
- <uses-permission android:name="android.permission.WAKE_LOCK"/>
- <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
+ <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" />
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER" />
+ <uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED" />
+ <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
+ <uses-permission android:name="android.permission.WAKE_LOCK" />
+ <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
+ <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
+ <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
<application
android:allowBackup="true"
android:requestLegacyExternalStorage="true"
- android:label="xManager"
- android:icon="@drawable/app_icon"
- android:largeHeap="true"
+ android:icon="@mipmap/icon_origin"
+ android:label="@string/app_name"
+ android:name=".SketchApplication"
+ android:requestLegacyExternalStorage="true"
android:usesCleartextTraffic="true"
- android:theme="@style/AppTheme">
+ android:theme="@style/Theme.AppCompat.NoActionBar"
+ android:preserveLegacyExternalStorage="true">
<activity
android:name=".MainActivity"
android:configChanges="orientation|screenSize|keyboardHidden|smallestScreenSize|screenLayout"
android:hardwareAccelerated="true"
android:supportsPictureInPicture="true"
android:screenOrientation="portrait"
- android:windowSoftInputMode="stateHidden">
- <intent-filter>
- <action android:name="android.intent.action.MAIN"/>
- <category android:name="android.intent.category.LAUNCHER"/>
- </intent-filter>
- </activity>
+ android:windowSoftInputMode="stateHidden" />
<activity
android:name=".SplashActivity"
android:configChanges="orientation|screenSize|keyboardHidden|smallestScreenSize|screenLayout"
@@ -34,30 +36,38 @@
android:supportsPictureInPicture="true"
android:theme="@style/AppTheme.FullScreen"
android:screenOrientation="portrait"
- android:windowSoftInputMode="stateHidden"/>
+ android:windowSoftInputMode="stateHidden">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+ <activity
+ android:name=".DebugActivity"
+ android:screenOrientation="portrait" />
<meta-data
android:name="com.google.android.gms.version"
- android:value="@integer/google_play_services_version"/>
+ android:value="@integer/google_play_services_version" />
<provider
android:name="com.google.firebase.provider.FirebaseInitProvider"
android:authorities="com.xc3fff0e.xmanager.firebaseinitprovider"
android:exported="false"
- android:initOrder="100"/>
+ android:initOrder="100" />
<service
android:name="com.google.firebase.components.ComponentDiscoveryService"
android:exported="false">
<meta-data
android:name="com.google.firebase.components:com.google.firebase.database.DatabaseRegistrar"
- android:value="com.google.firebase.components.ComponentRegistrar"/>
+ android:value="com.google.firebase.components.ComponentRegistrar" />
<meta-data
android:name="com.google.firebase.components:com.google.firebase.iid.Registrar"
- android:value="com.google.firebase.components.ComponentRegistrar"/>
+ android:value="com.google.firebase.components.ComponentRegistrar" />
</service>
<service
android:name="com.google.firebase.messaging.FirebaseMessagingService"
android:exported="false">
- <intent-filter android:priority="-500">
- <action android:name="com.google.firebase.MESSAGING_EVENT"/>
+ <intent-filter android:priority="-500">
+ <action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<receiver
@@ -65,11 +75,22 @@
android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
- <action android:name="com.google.android.c2dm.intent.RECEIVE"/>
+ <action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</receiver>
<uses-library
android:name="org.apache.http.legacy"
- android:required="false"/>
+ android:required="false" />
+
+
+ <provider
+ android:authorities="com.xc3fff0e.xmanager.provider"
+ android:name="androidx.core.content.FileProvider"
+ android:exported="false"
+ android:grantUriPermissions="true">
+ <meta-data
+ android:name="android.support.FILE_PROVIDER_PATHS"
+ android:resource="@xml/provider_paths"/>
+ </provider>
</application>
</manifest>