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

Commit 02ffb2aa authored by Andreas Gampe's avatar Andreas Gampe
Browse files

Frameworks/base: Fix format string in Camera

One cannot print a boolean with %d. That will result in an exception.

Bug: 19797138
Change-Id: I86c42ea834cebebaecff8463637cc9de14d1fc88
parent 30fcd2aa
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -774,10 +774,10 @@ public final class CameraManager {
                if (DEBUG) {
                    Log.v(TAG,
                            String.format(
                                "Device status was previously available (%d), " +
                                " and is now again available (%d)" +
                                "Device status was previously available (%b), " +
                                " and is now again available (%b)" +
                                "so no new client visible update will be sent",
                                isAvailable(status), isAvailable(status)));
                                isAvailable(oldStatus), isAvailable(status)));
                }
                return;
            }