diff options
| author | 2023-04-18 17:38:17 +0200 | |
|---|---|---|
| committer | 2023-06-01 15:40:22 +0200 | |
| commit | d92935f0f30bf6405b39141f324ff6797d63bfae (patch) | |
| tree | 19d72d9c92b070fbaae8a9062b2c1c1cc7fab931 /libs/androidfw/ApkParsing.cpp | |
| parent | 39169f811534ff3a4341697b206125951ada6e34 (diff) | |
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
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions