Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 772fdf6e authored by Garik Badalyan's avatar Garik Badalyan Committed by Wileen Chiu
Browse files

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
parent 5ce1a784
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -318,7 +318,7 @@ public class VideoProviderProxy extends Connection.VideoProvider {
                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);