diff options
| author | 2024-08-12 14:56:46 +0200 | |
|---|---|---|
| committer | 2024-08-12 19:00:13 +0200 | |
| commit | 5df8c95fd4497f81bf82f8b859aa70200a3fa29d (patch) | |
| tree | 5012fb85b978641596f9e5e9bd550710a2b4bde5 /libs/androidfw/StringPool.cpp | |
| parent | 35cc593181b1cc9c49949d63381980edb65b833a (diff) | |
Reset override when manually activating a manually deactivated zen rule
The behavior is now symmetric to the STATE_FALSE case (where manually deactivating a manually activated rule will reset the activate-override instead of placing a deactivate-override).
This should fix the scenario where the user stops Bedtime Mode after it's automatically activated at night and then resumes it -- the user most likely expects Bedtime to stop at its scheduled time in the morning.
Bug: 333527800
Test: unit test + cts + manual
Flag: android.app.modes_ui
Change-Id: Ie42cbcae89050f0c775828ebf4596d9fe939736a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions