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

Skip to content
Commit d92935f0 authored by Philip Junker's avatar Philip Junker
Browse files

Allow ACQUIRE_CAUSES_WAKEUP for apps targeting pre-U sdks

Use PermissionChecker#checkPermissionForDataDelivery() instead of checking the permission and appop separately.
Add PowerPropertiesWrapper to make PowerProperties testable.

Bug: 281825732
Test: manually installed app with targetSdk T and verified that it can turn the screen on
Test: atest PowerManagerServiceTest
Change-Id: Ia5b090604e702896e3070f0fa1c913f06db7d251
parent 39169f81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment