Use a better way to bind slice for slice precheck.
Calling Slice.bindSlice() directly will cause the exception stating that slices are not pinned, which sometimes leads to crash. Hence, change the way we bind slices which handles pinSlice() for us before onBindSlice(). Bug: 120552892 Test: robotests, unit tests Change-Id: I3e65c6b79876dbee5db6f19387bc6b675f734161
Loading
Please register or sign in to comment