summaryrefslogtreecommitdiff
path: root/libs/binder/Stability.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2019-08-02 20:41:10 -0700
committer Steven Moreland <smoreland@google.com> 2019-08-02 20:43:31 -0700
commit732de21e5df2de362df8c62d7daba6c925cb4d3c (patch)
tree5869ee1b4c526b27500a736f21634dfe9f5de72e /libs/binder/Stability.cpp
parent2a9f32f1a21e012dfaddc571a741658eaef0d9da (diff)
libbinder: Fix bad stability set log.
So that it shows current stability as well as new stability. Bug: 136027762 Test: check log Change-Id: I7b8481528c0b8e8506a3e95508c9bbef62c71d62
Diffstat (limited to 'libs/binder/Stability.cpp')
-rw-r--r--libs/binder/Stability.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/Stability.cpp b/libs/binder/Stability.cpp
index f18bdca1fd..0bcce5bf94 100644
--- a/libs/binder/Stability.cpp
+++ b/libs/binder/Stability.cpp
@@ -58,7 +58,7 @@ status_t Stability::set(IBinder* binder, int32_t stability, bool log) {
if (currentStability != Level::UNDECLARED && currentStability != stability) {
if (log) {
ALOGE("Interface being set with %s but it is already marked as %s.",
- stabilityString(stability).c_str(), stabilityString(stability).c_str());
+ stabilityString(stability).c_str(), stabilityString(currentStability).c_str());
}
return BAD_TYPE;
}