commit | daa8ff36cc271d6ded3c0227ad29c69e50e7b555 | [log] [tgz] |
---|---|---|
author | Yi-Ling Chuang <emilychuang@google.com> | Thu Feb 14 20:36:20 2019 +0800 |
committer | Yi-Ling Chuang <emilychuang@google.com> | Thu Feb 21 14:18:01 2019 +0800 |
tree | 90c0fa55dca93db59e0b7d785bc7cc8cd52d2c2a | |
parent | 5f321d7921e01409b4fce64aaa7486eae1f72463 [diff] |
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