Do not use OutOfResourcesException for general errors
SurfaceSession#nativeCreate() throws OutOfResourcesException for general errors on the native side during creation, which is unclear. This change throws IllegalStateException with the error string instead. Test: presubmit Flag: EXEMPT Small refactor Bug: 436479192 Change-Id: Id568d09a1d5fbd0b3fd16a94349bbb39a6e942ae
Loading
Please register or sign in to comment