diff options
author | tomnatan <tomnatan@google.com> | 2021-03-08 18:37:48 +0000 |
---|---|---|
committer | Tom Natan <tomnatan@google.com> | 2021-03-11 15:27:08 +0000 |
commit | fe9bb1b24689f6bf6cfaf6b2739589cc93edf650 (patch) | |
tree | 11099e507a499b5856f30b1d7f144d4ccb91fd07 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 01ab7bcd20f53ef516e61337ca12c1bcb4c7fcc1 (diff) |
Re-adopt shell permissions before calling clearOverridesForTest.
This is done because some tests might drop shell permissions during
mTestStatement.evaluate() and therefore platformCompat#clearOverridesForTest would fail without re-adopting the shell permissions.
In addition we now drop shell permissions before calling
mTestStatement.evaluate() so that the test would only have the
permission it enables.
Test: Existing tests pass.
Fix: 182178917
Change-Id: I93566906430d3aadaac256026bf300d7811538f1
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions