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
Loading
Please register or sign in to comment