diff options
author | 2021-05-24 22:58:37 +0000 | |
---|---|---|
committer | 2021-05-24 22:58:37 +0000 | |
commit | 3658c3bcc01fe42a39a27a123d990c106d9bc29a (patch) | |
tree | cb1d83e83726024f562440fe83661c6bf9612952 /libs/binder/Stability.cpp | |
parent | 3f711658f05b38fc9ca2b80f00877b499ffcad23 (diff) | |
parent | 71296be69be79afade98c08bd6c567071de768da (diff) |
Merge "Expose binder stability for debugging in dumpsys" am: 71296be69b
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1712769
Change-Id: I9fbc90101babd007ffa722dae54ec380d2768a98
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) { |