diff options
| author | 2025-03-10 16:31:53 -0400 | |
|---|---|---|
| committer | 2025-03-14 23:39:37 -0400 | |
| commit | 870216fc181813eede7d076a8b72a16536fa45b8 (patch) | |
| tree | 54873fdd1eb99c1871106d6208affeb806efd6ef /libs/androidfw/FileStream.cpp | |
| parent | e30124bf07c63bf4b6a507d1f4a121d8589c72b9 (diff) | |
Update posturing detection to reduce false positives
Implements a sliding window algorithm for motion and orientation. We use
a 10 second window, but this is tunable.
Bug: 396460215
Test: atest PosturingInteractorTest
Flag: android.service.dreams.allow_dream_when_postured
Change-Id: Id6eddba52fb0927e561f79e5acf579a353c0cd3e
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions