Throw SecurityException regarding sampling rates.
When apps target SDK >= S, run in debug mode, request a sampling rate greater than 200 Hz and do not have the HIGH_SAMPLING_RATE_SENSORS permission, the SystemSensorManager throws a SecurityException when the apps try to establish a (direct or event) connection. Test: atest CtsSensorTestCases CtsSensorRatePermissionTestCases Bug: 136069189 Change-Id: I33893c93949f0f055ce5ded1a5ed9d188de709ed
Loading
Please register or sign in to comment