diff options
author | 2021-05-24 23:17:00 +0000 | |
---|---|---|
committer | 2021-05-24 23:17:00 +0000 | |
commit | 1b3ab5e4b8c2767e7909783f95f5be58faa4fe40 (patch) | |
tree | 30f9a06bd41fb1bd56458b2381d672081701fe7b /libs/binder/Stability.cpp | |
parent | aedad2d62cb1426b0c5a0d803f0f348826decb89 (diff) | |
parent | 3658c3bcc01fe42a39a27a123d990c106d9bc29a (diff) |
Merge "Expose binder stability for debugging in dumpsys" am: 71296be69b am: 3658c3bcc0
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1712769
Change-Id: Ibd2b4a395b64459763ddb3449d561d861422af14
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 f12ef4e35b..3a5575fec5 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) { |