commit | 38903c0f88efefec3573d9ff3a8e28131da2f3b5 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri Feb 17 13:38:47 2017 -0800 |
committer | Yifan Hong <elsk@google.com> | Fri Feb 17 14:56:19 2017 -0800 |
tree | 503be85765616c7dbb400cd7b58564d94569c355 | |
parent | 9753b433552f3856dc9e3a022dd6cfaa72f273d0 [diff] |
Fix lshal cannot be run without root Root cause is invoking copy constructor on a Return<T> object implicitly, while the old object contains a failed status and gets destroyed. Use the move constructor instead to fix this. Test: adb unroot && adb shell lshal Change-Id: I44710166cc5d7da30bf54b10d1860be1b91dc98a