diff options
author | 2021-05-24 22:40:04 +0000 | |
---|---|---|
committer | 2021-05-24 22:40:04 +0000 | |
commit | 71296be69be79afade98c08bd6c567071de768da (patch) | |
tree | cb1d83e83726024f562440fe83661c6bf9612952 /libs/binder/Stability.cpp | |
parent | 3caff151fed6d44f83aa616e95b26fb3e9f70005 (diff) | |
parent | e5a6a878342978f13ba5c174c1dfb337173e1939 (diff) |
Merge "Expose binder stability for debugging in dumpsys"
Diffstat (limited to 'libs/binder/Stability.cpp')
-rw-r--r-- | libs/binder/Stability.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/binder/Stability.cpp b/libs/binder/Stability.cpp index 709cf67127..601ce96db6 100644 --- a/libs/binder/Stability.cpp +++ b/libs/binder/Stability.cpp @@ -79,9 +79,9 @@ void Stability::markVintf(IBinder* binder) { LOG_ALWAYS_FATAL_IF(result != OK, "Should only mark known object."); } -void Stability::debugLogStability(const std::string& tag, const sp<IBinder>& binder) { +std::string Stability::debugToString(const sp<IBinder>& binder) { auto stability = getCategory(binder.get()); - ALOGE("%s: stability is %s", tag.c_str(), stability.debugString().c_str()); + return stability.debugString(); } void Stability::markVndk(IBinder* binder) { |