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

Commit 9492b074 authored by Jayant Chowdhary's avatar Jayant Chowdhary
Browse files

cameraserver: Fix DYNAMIC_DEPTH / HEIC keys selected for UHR stream configurations.



Bug: 284273379

Test: vendor testing

Change-Id: Ia037fc37cfc9132a2f75534067de98cd44b07b5b
Signed-off-by: default avatarJayant Chowdhary <jchowdhary@google.com>
parent c5063521
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -73,11 +73,11 @@ void StreamConfiguration::getStreamConfigurations(

    int32_t dynamicDepthKey =
            SessionConfigurationUtils::getAppropriateModeTag(
                    ANDROID_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS);
                    ANDROID_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS, maxRes);

    int32_t heicKey =
            SessionConfigurationUtils::getAppropriateModeTag(
                    ANDROID_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS);
                    ANDROID_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS, maxRes);

    getStreamConfigurations(staticInfo, scalerKey, scm);
    getStreamConfigurations(staticInfo, depthKey, scm);