mirror of
https://github.com/ActivityLauncher/ActivityLauncher.git
synced 2026-08-11 09:53:25 +00:00
chore: fix screen orientation in Manifest
This commit is contained in:
parent
1229716d2e
commit
e53cb91efb
2 changed files with 2 additions and 2 deletions
|
|
@ -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" />
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue