Fix DeviceStateManagerServiceTests and add to presubmit.
1. The addition of the CONTROL_DEVICE_STATE permission broke the test as the permission was not granted to the test APK. 2. Publishing of the binder service was previously wrapped with a SecurityException catch which failed gracefully in the test. This prevents registering the binder service in the test. Test: atest DeviceStateManagerServiceTests Bug: 159401801 Change-Id: Ifc24ba370a30a86121ca1fa531b8a396f7513b97
Loading
Please register or sign in to comment