summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorKazuki Takise <takise@google.com>2018-07-27 10:44:25 +0900
committerKazuki Takise <takise@google.com>2018-07-27 10:44:25 +0900
commit561483908c80078d4af9c5de574f99fc4aa85440 (patch)
treebb381f15b578ead65443a2e3438af40a3c894bf7 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent309adbff03ea6e0dedd232375a9f0583a7a80049 (diff)
Set return value for mock(IWindow).asBinder() to prevent exception
In TestWindowManagerPolicy#addSplashScreen(), mock(IWindow) is created and it's passed to the constructor of WindowState. In the constructor, c.asBinder().linkToDeath() is called, but currently, c.asBinder() returns null, which ends up throwing an exception. This CL sets a proper return value for c.asBinder(). With this CL, all the tests in AppWindowContainerControllerTests pass in ARC. Bug: 110906840 Test: atest AppWindowContainerControllerTests Change-Id: I5cacd6635eb11f174d14c7c2a3873dc648d43527
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions