Add posturing dream trigger to Settings UI

Adds ability for users to select posturing as the trigger for when
dreams will be shown.

Bug: 383208131
Test: locally - mp droid and verified posturing option is displayed in
Settings
Flag: android.service.dreams.allow_dream_when_postured

Change-Id: Iae69b9e488181b1e2af7474e3e9879a92b51274c
This commit is contained in:
Lucas Silva
2025-01-08 14:59:58 -05:00
parent e28dcd02bc
commit 9c4dba40b4
5 changed files with 51 additions and 22 deletions

View File

@@ -3170,6 +3170,10 @@
<string name="screensaver_settings_summary_dock">While docked</string>
<!-- Display settings screen, summary fragment for screen saver options, activated never [CHAR LIMIT=35] -->
<string name="screensaver_settings_summary_never">Never</string>
<!-- Summary for when screensaver is enabled, only while stationary and upright [CHAR LIMIT=35] -->
<string name="screensaver_settings_summary_postured">While postured</string>
<!-- Summary for when screensaver is enabled, only while stationary and upright and charging [CHAR LIMIT=35] -->
<string name="screensaver_settings_summary_postured_and_charging">While postured and charging</string>
<!-- Display settings screen, summary for screen saver options, screen saver is turned on [CHAR LIMIT=50] -->
<string name="screensaver_settings_summary_on">
On / <xliff:g id="screen_saver" example="Art gallery">%1$s</xliff:g>