diff options
| author | Josh Gao <jmgao@google.com> | 2018-12-11 13:11:52 -0800 |
|---|---|---|
| committer | Josh Gao <jmgao@google.com> | 2018-12-12 12:54:03 -0800 |
| commit | ce5ce87a66addb5f6a1170a0e0958e63dd30d78c (patch) | |
| tree | c398ad0d4bfcb3cd70b02e091eda850946d7b166 /libunwindstack/tests/MemoryCacheTest.cpp | |
| parent | 36b5dd845c075f6575fc3f527fe14af34888c56b (diff) | |
adb: remove incorrect use of RTTI.
We were dynamic_casting to UsbConnection to check for USB connections,
but the actual type was a BlockingConnectionAdapter wrapping a
UsbConnection, with the result that unplugging an inaccessible (due to
permissions) device on Linux wouldn't make the device go away.
Test: manual
Change-Id: Icb4acea5fd3c3baa9691698686213e122e898e4a
Diffstat (limited to 'libunwindstack/tests/MemoryCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions
