summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorxC3FFF0E <78732474+xC3FFF0E@users.noreply.github.com>2021-09-17 11:57:36 +0200
committerGitHub <noreply@github.com>2021-09-17 11:57:36 +0200
commitca63619bd7101536c0e8ce661184a4b0615063ba (patch)
tree633f272e8707c7accd39987afd813b0781708032 /app
parentUpdate build.gradle (diff)
downloadxManager-ca63619bd7101536c0e8ce661184a4b0615063ba.tar
xManager-ca63619bd7101536c0e8ce661184a4b0615063ba.tar.gz
xManager-ca63619bd7101536c0e8ce661184a4b0615063ba.tar.bz2
xManager-ca63619bd7101536c0e8ce661184a4b0615063ba.tar.lz
xManager-ca63619bd7101536c0e8ce661184a4b0615063ba.tar.xz
xManager-ca63619bd7101536c0e8ce661184a4b0615063ba.tar.zst
xManager-ca63619bd7101536c0e8ce661184a4b0615063ba.zip
Diffstat (limited to 'app')
-rw-r--r--app/src/main/AndroidManifest.xml29
1 files changed, 27 insertions, 2 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index fab3213..5f43504 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -5,15 +5,20 @@
<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"/>
<application
android:allowBackup="true"
android:label="xManager"
android:icon="@drawable/app_icon"
android:largeHeap="true"
+ android:usesCleartextTraffic="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
- android:configChanges="orientation|screenSize"
+ android:configChanges="orientation|screenSize|keyboardHidden|smallestScreenSize|screenLayout"
+ android:hardwareAccelerated="true"
+ android:supportsPictureInPicture="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden">
<intent-filter>
@@ -23,7 +28,9 @@
</activity>
<activity
android:name=".SplashActivity"
- android:configChanges="orientation|screenSize"
+ android:configChanges="orientation|screenSize|keyboardHidden|smallestScreenSize|screenLayout"
+ android:hardwareAccelerated="true"
+ android:supportsPictureInPicture="true"
android:theme="@style/AppTheme.FullScreen"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden"/>
@@ -41,7 +48,25 @@
<meta-data
android:name="com.google.firebase.components:com.google.firebase.database.DatabaseRegistrar"
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"/>
+ </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>
</service>
+ <receiver
+ android:name="com.google.firebase.iid.FirebaseInstanceIdReceiver"
+ android:exported="true"
+ android:permission="com.google.android.c2dm.permission.SEND">
+ <intent-filter>
+ <action android:name="com.google.android.c2dm.intent.RECEIVE"/>
+ </intent-filter>
+ </receiver>
<uses-library
android:name="org.apache.http.legacy"
android:required="false"/>