summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Byte2.java
diff options
context:
space:
mode:
authorAnh Pham <anhph@google.com>2021-02-08 13:38:46 +0100
committerAnh Pham <anhph@google.com>2021-02-16 09:25:21 +0100
commit97f66fd20ca69d72d03db5f3f11a6db78dca0357 (patch)
treeb9bca2fbd94deb76ce04e77dbd15750b35b0ac98 /rs/java/android/renderscript/Byte2.java
parentf437e35728510b8e2f99bb12d90ce6458c6933c2 (diff)
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
Diffstat (limited to 'rs/java/android/renderscript/Byte2.java')
0 files changed, 0 insertions, 0 deletions