Browse Source

avoid rotation in parameters

yattoz 4 years ago
parent
commit
7e4947cb83
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/src/main/AndroidManifest.xml

+ 2 - 2
app/src/main/AndroidManifest.xml View File

27
         <service
27
         <service
28
             android:name=".RadioService"
28
             android:name=".RadioService"
29
             android:enabled="true"
29
             android:enabled="true"
30
-            android:exported="true">
30
+            android:exported="false">
31
             <intent-filter>
31
             <intent-filter>
32
                 <action android:name="android.media.browse.MediaBrowserService" />
32
                 <action android:name="android.media.browse.MediaBrowserService" />
33
             </intent-filter>
33
             </intent-filter>
61
             android:configChanges="orientation|screenSize"
61
             android:configChanges="orientation|screenSize"
62
             android:launchMode="singleTask"
62
             android:launchMode="singleTask"
63
             android:parentActivityName=".MainActivity"
63
             android:parentActivityName=".MainActivity"
64
-            android:screenOrientation="fullSensor" />
64
+            android:screenOrientation="fullUser" />
65
 
65
 
66
         <receiver android:name="androidx.media.session.MediaButtonReceiver">
66
         <receiver android:name="androidx.media.session.MediaButtonReceiver">
67
             <intent-filter>
67
             <intent-filter>