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

Commit 75192fb7 authored by Ruben Brunk's avatar Ruben Brunk Committed by Android Git Automerger
Browse files

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

* commit '4b3c7f852a22c27bc31c3710c631ef5fae10788f':
  camera2: Add missing whitebalance mapping.
parents 60004cae 9343c3cb
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;