diff options
| author | 2022-12-08 14:59:28 -0800 | |
|---|---|---|
| committer | 2022-12-09 08:43:22 -0800 | |
| commit | a6000e21cbcc47aa055cc3782192903fe178933b (patch) | |
| tree | 6e1e2abaa7d9d59c0c79e35b5a3051db9cf55bae /libs/androidfw/StringPool.cpp | |
| parent | 1f9eb48888c2c48ae58f3ee63cade5d590bd4c3e (diff) | |
Don't allow dreaming for users that can't dream.
DreamManagerService#canStartDreaming should not return true if the
current user is not allowed to dream.
Bug: 261907079
Test: manually by switching to a user that can't dream and making
sure that the screen turns off on power press while docked.
Change-Id: Ia4a46dff5360d3565762b82fb4353e66f0b8f661
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions