Merge "Fix log message errors in RangingManager"
This commit is contained in:
@@ -94,7 +94,8 @@ public class RangingManager extends android.uwb.IUwbRangingCallbacks.Stub {
|
|||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
if (!hasSession(sessionHandle)) {
|
if (!hasSession(sessionHandle)) {
|
||||||
Log.w(TAG,
|
Log.w(TAG,
|
||||||
"onRangingOpened - received unexpected SessionHandle: " + sessionHandle);
|
"onRangingOpenedFailed - received unexpected SessionHandle: "
|
||||||
|
+ sessionHandle);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -124,7 +125,7 @@ public class RangingManager extends android.uwb.IUwbRangingCallbacks.Stub {
|
|||||||
@RangingChangeReason int reason, PersistableBundle params) {
|
@RangingChangeReason int reason, PersistableBundle params) {
|
||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
if (!hasSession(sessionHandle)) {
|
if (!hasSession(sessionHandle)) {
|
||||||
Log.w(TAG, "onRangingStartFailed - received unexpected SessionHandle: "
|
Log.w(TAG, "onRangingReconfigureFailed - received unexpected SessionHandle: "
|
||||||
+ sessionHandle);
|
+ sessionHandle);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user