|
66 | 66 | <meta-data android:name="{{ m.split('=', 1)[0] }}" android:value="{{ m.split('=', 1)[-1] }}"/>{% endfor %} |
67 | 67 | <meta-data android:name="wakelock" android:value="{% if args.wakelock %}1{% else %}0{% endif %}"/> |
68 | 68 |
|
69 | | - <activity android:name="{{args.android_entrypoint}}" |
70 | | - android:label="@string/app_name" |
71 | | - android:resizeableActivity="true" |
72 | | - android:supportsPictureInPicture="true" |
73 | | - android:exported="true" |
74 | | - android:launchMode="{% if args.activity_launch_mode %}{{ args.activity_launch_mode }}{% else %}singleTask{% endif %}" |
75 | | - android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|fontScale|uiMode{% if args.min_sdk_version >= 8 %}|uiMode{% endif %}{% if args.min_sdk_version >= 13 %}|screenSize|smallestScreenSize{% endif %}{% if args.min_sdk_version >= 17 %}|layoutDirection{% endif %}{% if args.min_sdk_version >= 24 %}|density{% endif %}" |
76 | | - android:windowSoftInputMode="adjustResize"> |
77 | | - {% if args.activity_launch_mode %} |
78 | | - android:launchMode="{{ args.activity_launch_mode }}" |
79 | | - {% endif %} |
80 | | - > |
| 69 | + <activity android:name="{{ args.android_entrypoint }}" |
| 70 | + android:label="@string/app_name" |
| 71 | + android:resizeableActivity="true" |
| 72 | + android:supportsPictureInPicture="true" |
| 73 | + android:exported="true" |
| 74 | + android:launchMode="{% if args.activity_launch_mode %}{{ args.activity_launch_mode }}{% else %}singleTask{% endif %}" |
| 75 | + android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|fontScale|uiMode{% if args.min_sdk_version >= 8 %}|uiMode{% endif %}{% if args.min_sdk_version >= 13 %}|screenSize|smallestScreenSize{% endif %}{% if args.min_sdk_version >= 17 %}|layoutDirection{% endif %}{% if args.min_sdk_version >= 24 %}|density{% endif %}" |
| 76 | + android:windowSoftInputMode="adjustResize" |
| 77 | + android:screenOrientation="unspecified"> |
| 78 | + {% if args.activity_launch_mode %} |
| 79 | + android:launchMode="{{ args.activity_launch_mode }}" |
| 80 | + {% endif %} |
| 81 | + > |
81 | 82 |
|
82 | 83 | <intent-filter> |
83 | 84 | {% if args.launcher %} |
|
0 commit comments