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

Commit 9343c3cb authored by Ruben Brunk's avatar Ruben Brunk Committed by Android (Google) Code Review
Browse files

Merge "camera2: Add missing whitebalance mapping." into lmp-dev

parents 53b5cc87 72a23d7b
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;