Add an option to allow users to take screenshots in private mode (#28142)

* Add an option to allow users to take screenshots in private mode

* Update strings for settings option and format code

* Update title/description for private tab screenshot option
This commit is contained in:
Deep Pandya
2025-03-17 16:57:44 -04:00
committed by GitHub
parent 9ed9ecba60
commit 83d7e13c44
5 changed files with 26 additions and 2 deletions
@@ -132,6 +132,12 @@
android:order="25"
android:title="@string/settings_webrtc_policy_label"
android:persistent="false"/>
<org.chromium.components.browser_ui.settings.ChromeSwitchPreference
android:key="incognito_screenshot"
android:order="25"
android:title="@string/private_tab_screenshot_title"
android:summary="@string/private_tab_screenshot_summary"
android:defaultValue="false" />
<org.chromium.components.browser_ui.settings.ChromeSwitchPreference
android:key="close_tabs_on_exit"
android:order="25"