Skip to content

Commit

Permalink
Disable multi-window settings option by default (PR #2420)
Browse files Browse the repository at this point in the history
  • Loading branch information
elyahw committed Sep 24, 2024
1 parent dcd77e2 commit 40932ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ public void setEditorBasicColor(boolean forDarkMode, @ColorRes int fgColor, @Col

public boolean isMultiWindowEnabled() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
return getBool(R.string.pref_key__is_multi_window_enabled, true);
return getBool(R.string.pref_key__is_multi_window_enabled, false);
} else {
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/xml/preferences_master.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
android:key="@string/pref_key__is_launcher_for_special_files_enabled"
android:title="@string/special_documents" />
<CheckBoxPreference
android:defaultValue="true"
android:defaultValue="false"
android:icon="@drawable/ic_border_outer_black_24dp"
android:key="@string/pref_key__is_multi_window_enabled"
android:summary="@string/open_new_documents_always_in_new_window"
Expand Down

0 comments on commit 40932ca

Please sign in to comment.