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

Commit 72a23d7b authored by Ruben Brunk's avatar Ruben Brunk
Browse files

camera2: Add missing whitebalance mapping.

Bug: 17588192
Change-Id: I5d161dd22f2057a33a461157d678d4217a5f88f8
parent 4aed87a9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -648,6 +648,8 @@ public class LegacyRequestMapper {
                return Camera.Parameters.WHITE_BALANCE_CLOUDY_DAYLIGHT;
            case CONTROL_AWB_MODE_TWILIGHT:
                return Camera.Parameters.WHITE_BALANCE_TWILIGHT;
            case CONTROL_AWB_MODE_SHADE:
                return Parameters.WHITE_BALANCE_SHADE;
            default:
                Log.w(TAG, "convertAwbModeToLegacy - unrecognized control.awbMode" + mode);
                return Camera.Parameters.WHITE_BALANCE_AUTO;