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

Commit 2c3ba852 authored by Fiona Campbell's avatar Fiona Campbell
Browse files

Create Sleeplocks API

- expose sleeplock class in powermanager
- expose goToSleep() as a testApi
- config.xml for max timeout
- config.xml for to allow usage of sleeplocks
- create and use permissions

Bug: 432748764
Flag: com.android.server.power.feature.flags.partial_sleep_wakelocks
Test: atest PowerServiceTests

Change-Id: Ia7df374484a9d56092665acb77e4c6d3bbfef87f
parent 3d57c36d
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