| commit | f3fd7ca8f5f03d84989ca203523ea4ae131d3997 | [log] [tgz] |
|---|---|---|
| author | Jiwen 'Steve' Cai <jwcai@google.com> | Tue Oct 16 11:42:32 2018 -0700 |
| committer | Fan Xu <fanxu@google.com> | Tue Oct 16 13:13:05 2018 -0700 |
| tree | e90fe656a82f98dc42094a9218872f0aab27b5b9 | |
| parent | f53ae7ed084de6bd0f9f5ba543708f4147a4a709 [diff] |
NativeHandleWrapper shouldn't return native_handle_t* in const DuplicateHandle() and TakeHandle() are returning the native_handle_t* as passing ownership out of the wrapper. Thus the returned pointer shouldn't be in const. Bug: 111976433 Test: buffer_hub-test Change-Id: Ie353046f5b59beab674a81f4490d5de1d4beaa2e