diff --git a/adb/transport.cpp b/adb/transport.cpp index b6b6984a5..c33d5afcb 100644 --- a/adb/transport.cpp +++ b/adb/transport.cpp @@ -1533,8 +1533,7 @@ std::shared_ptr atransport::NextKey() { keys_.pop_front(); } - std::shared_ptr result = keys_[0]; - return result; + return Key(); } void atransport::ResetKeys() {