Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 870216fc authored by Lucas Silva's avatar Lucas Silva
Browse files

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
parent e30124bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment