summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorwilsonshih <wilsonshih@google.com>2019-08-01 17:46:14 +0800
committerWei Sheng Shih <wilsonshih@google.com>2019-09-02 02:25:26 +0000
commit8d096d2a6d4f4d843a2b49913d4f721659213ee5 (patch)
tree841529b552ba5e2bdfc45ff1f6e931a31c5fa13e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentbb4f6c6b8fdaf3315299936b06376203513e3137 (diff)
Prevent LocalService#updateOomAdj been called during test
When testing, we mock WindowProcessController#mOwner as Object, if updateOomAdj is called during test, then the test process will crash. This won't happen in normal use. To prevent the test process from crash, mock out ATMS#updateOomAdj() during test. Fix: 138770685 Test: atest WmTests Change-Id: Ibc8e56e6fd9b332d987c7cd2ed501aba4394f7a2
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions