diff options
| author | 2025-01-29 13:36:49 -0800 | |
|---|---|---|
| committer | 2025-01-30 10:59:47 -0800 | |
| commit | 42f1f7626f192a9ac41f73517390491a13d668a9 (patch) | |
| tree | 2b863854257c6823beb980ab474a75587542c056 /cmds/bootanimation/BootAnimation.cpp | |
| parent | f1dd746ccc8c392153000369da3c44ef8ee2f939 (diff) | |
[flexiglass] Adds support for trust agents
When the environment is trusted, the device shouldn't become locked when
it goes to sleep or starts dreaming. At least not until the environment
becomes untrusted again or a more explicit request to lock happens (for
example, a lock down).
Fix: 392181543
Test: unit tests added
Test: manually verified, using bluetooth headphones that have been set
up as a trusted device in the "Extend unlock" feature in settings, that (1) the device
remains unlocked while the headphones are present for up to the
timeout/limit (4 hours normally but locally changed to 60 seconds by
editing TRUST_TIMEOUT_IN_MILLIS in TrustManagerService). Also verified
that bringing up the power menu makes the environment untrusted and
that disconnecting the trusted device also does.
Flag: com.android.systemui.scene_container
Change-Id: I81a5e0fa2ac3b5b6c858274d4af478efb8daaeb0
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions