summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTim Van Patten <timvp@google.com>2021-07-15 11:04:10 -0600
committerTim Van Patten <timvp@google.com>2021-09-01 00:11:34 +0000
commitbb5a62d8d7bccf294692a62b4546c58441d8d134 (patch)
treed425f842096eceb33a9cdb533cb8506e4e644d8a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4de992c9cbff072f2091eda2c45a31f7ce50e175 (diff)
Fix failing GameManagerServiceTests
The following tests are currently failing: - com.android.server.app.GameManagerServiceTests#testDeviceConfigInvalid - com.android.server.app.GameManagerServiceTests#testSetGameModePermissionDenied - This is actually flaky, rather than consistently failing. testDeviceConfigInvalid is failing because the current config string is actually valid. This test is fixed by updating the string to actually be invalid by making it empty. testSetGameModePermissionDenied is failing because the test package doesn't have any valid configs, so the call to getGameMode() returns GAME_MODE_UNSUPPORTED rather than GAME_MODE_STANDARD. This is fixed by calling mockDeviceConfigAll() at the start of the test. Test: GameManagerServiceTests#testDeviceConfigInvalid Test: GameManagerServiceTests#testSetGameModePermissionDenied Bug: b/193794028 Change-Id: I4d4581c37c31f6234b825f6b557b1e7dd4ce1c77 (cherry picked from commit f13fe0cceaa2227b069947a2049fd4bfb28c105c)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions