Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62a6d16e authored by Eino-Ville Talvala's avatar Eino-Ville Talvala Committed by android-build-merger
Browse files

Merge "Binder::Status: Add operator<< to help with gtest logging" am: 259eb561 am: e4fe50ca

am: 4b419055

* commit '4b419055':
  Binder::Status: Add operator<< to help with gtest logging
parents 3a5ecd84 4b419055
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -141,6 +141,13 @@ private:
    String8 mMessage;
};  // class Status

// For gtest output logging
template<typename T>
T& operator<< (T& stream, const Status& s) {
    stream << s.toString8().string();
    return stream;
}

}  // namespace binder
}  // namespace android