chore: fix screen orientation in Manifest

This commit is contained in:
Adam M. Szalkowski 2021-12-29 18:44:19 +01:00
parent 1229716d2e
commit e53cb91efb
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,8 @@
<activity
android:name="de.szalkowski.activitylauncher.MainActivity"
android:label="@string/app_name"
android:exported="true">
android:exported="true"
android:screenOrientation="locked" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.VIEW" />

View file

@ -23,7 +23,6 @@ public class MainActivity extends FragmentActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);//temporary disabled landscape orientation due to crash issue
if (!getPreferences(Context.MODE_PRIVATE).getBoolean("disclaimer_accepted", false)) {
DialogFragment dialog = new DisclaimerDialogFragment();