Skip to content

Commit b8f0430

Browse files
jeanschfornwall
authored andcommitted
Prevent kill by Samsung Dex on plug/unplug.
1 parent 90e6260 commit b8f0430

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131

3232
<activity
3333
android:name="com.termux.app.TermuxActivity"
34-
android:label="@string/application_name"
35-
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
34+
android:label="@string/application_name"
35+
android:configChanges="orientation|screenSize|smallestScreenSize|density|screenLayout|uiMode|keyboard|keyboardHidden|navigation"
3636
android:launchMode="singleTask"
3737
android:resizeableActivity="true"
38-
android:windowSoftInputMode="adjustResize|stateAlwaysVisible" >
38+
android:windowSoftInputMode="adjustResize|stateAlwaysVisible" >
3939
<intent-filter>
4040
<action android:name="android.intent.action.MAIN" />
4141
<category android:name="android.intent.category.LAUNCHER" />
@@ -120,8 +120,8 @@
120120
android:exported="true"
121121
android:grantUriPermissions="true"
122122
android:name="com.termux.app.TermuxOpenReceiver$ContentProvider" />
123-
124-
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
123+
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
124+
<meta-data android:name="com.samsung.android.multidisplay.keep_process_alive" android:value="true"/>
125125
</application>
126126

127127
</manifest>

0 commit comments

Comments
 (0)