IMS-VT: Fix exception caused by incorrect conversion
Incorrect formatter (%d) is used to log a variable
of type String. The change fixes the code to use
proper formatter to log String variables.
Test: Manual
Change-Id: Ica9c5c9312be895e3048ddebf4f8653e444b1232
diff --git a/src/com/android/server/telecom/VideoProviderProxy.java b/src/com/android/server/telecom/VideoProviderProxy.java
index 26018de..62613b0 100644
--- a/src/com/android/server/telecom/VideoProviderProxy.java
+++ b/src/com/android/server/telecom/VideoProviderProxy.java
@@ -318,7 +318,7 @@
if (!canUseCamera(mCall.getContext(), callingPackage, callingUid, callingPid)) {
// Calling app is not permitted to use the camera. Ignore the request and send
// back a call session event indicating the error.
- Log.i(this, "onSetCamera: camera permission denied; package=%d, uid=%d, "
+ Log.i(this, "onSetCamera: camera permission denied; package=%s, uid=%d, "
+ "pid=%d, targetSdkVersion=%d",
callingPackage, callingUid, callingPid, targetSdkVersion);