commit | 80d42dbc668d3aefb2fa3e5460983a3e4349e221 | [log] [tgz] |
---|---|---|
author | Bo Liu <boliu@google.com> | Tue Oct 11 20:18:59 2022 -0400 |
committer | Bo Liu <boliu@google.com> | Wed Oct 12 13:08:20 2022 +0000 |
tree | 5a4f716b1740052d937667f3841b7a818e5a714f | |
parent | e70fb0319ec7b50b9fbedb35c3d7416d4e211da6 [diff] |
SurfaceControl ndk-jni API review ASurfaceControl_fromSurfaceControl should acquire a reference before returning. Abort if the arguments are invalid, make the return code nonnull. Test: ASurfaceControlTest#testSurfaceControl_fromSurfaceControl and ASurfaceControlTest#testSurfaceTransaction_fromTransaction Bug: 253053203 Change-Id: Ia9b910985e34c7a97b7ff508ee63638105f17c3b