commit | 008f4df3ca1bdb0e0df80fff68467a95ddbc6c40 | [log] [tgz] |
---|---|---|
author | Jerry Zhang <zhangjerry@google.com> | Wed Aug 09 17:53:50 2017 -0700 |
committer | Jerry Zhang <zhangjerry@google.com> | Tue Aug 22 20:45:51 2017 +0000 |
tree | 0626aa4ddfd8ef52fe7ad71a6538050458494c13 | |
parent | a009b07a0d116c6181a8af71d55bd2d17e8f48d1 [diff] |
Stop capturing mtp_event by reference in lambda This takes a reference to the event, which then can become invalid. Instead pass by copy like normal. Bug: 64529223 Test: No crash Change-Id: I2ac7bd0002e6d0ce1c547c24334dfd2926ed7090 (cherry picked from commit 7360303d3e93cd6a5fd8c5c4340a335416bd0f28)