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

Skip to content
Commit 6cc5b8a5 authored by Yorke Lee's avatar Yorke Lee
Browse files

Disable AccelerometerListener when display is off

Unregister the accelerometer listener when the screen is off
to reduce power consumption.

Slight refactor of component constructors to facilitate testing.

Add test.

Bug: 23498050
Change-Id: If1971a39e8a418253f6611116c855e3c6cf81b93
parent b6ef8696
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