Browse Source

#93: Disable landscape mode

housekeeping/mavenCentral
Ryan Harg 3 years ago
parent
commit
b4b381edb5
No known key found for this signature in database
GPG Key ID: 89106F3A84E6958C
  1. 22
      app/src/main/AndroidManifest.xml
  2. 1
      changes/changelog.d/93.bugfix

22
app/src/main/AndroidManifest.xml

@ -21,7 +21,8 @@
<activity <activity
android:name=".activities.SplashActivity" android:name=".activities.SplashActivity"
android:launchMode="singleInstance" android:launchMode="singleInstance"
android:noHistory="true"> android:noHistory="true"
android:screenOrientation="portrait">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
@ -35,19 +36,28 @@
<activity <activity
android:name=".activities.LoginActivity" android:name=".activities.LoginActivity"
android:configChanges="screenSize|orientation" android:configChanges="screenSize|orientation"
android:launchMode="singleInstance" /> android:launchMode="singleInstance"
android:screenOrientation="portrait" />
<activity android:name=".activities.MainActivity" /> <activity
android:name=".activities.MainActivity"
android:screenOrientation="portrait" />
<activity <activity
android:name=".activities.SearchActivity" android:name=".activities.SearchActivity"
android:launchMode="singleTop" /> android:launchMode="singleTop" />
<activity android:name=".activities.DownloadsActivity" /> <activity
android:name=".activities.DownloadsActivity"
android:screenOrientation="portrait" />
<activity android:name=".activities.SettingsActivity" /> <activity
android:name=".activities.SettingsActivity"
android:screenOrientation="portrait" />
<activity android:name=".activities.LicencesActivity" /> <activity
android:name=".activities.LicencesActivity"
android:screenOrientation="portrait" />
<service <service
android:name=".playback.PlayerService" android:name=".playback.PlayerService"

1
changes/changelog.d/93.bugfix

@ -0,0 +1 @@
Disable landscape mode to avoid application crashes (#93)
Loading…
Cancel
Save