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

Commit 831e0cea authored by Haofan Wang's avatar Haofan Wang
Browse files

Add default value to the vendor picture parameter

Added default value in the vendor bundle and send it to the HAL. So HAL
knows which profile are default profile.

Bug: 402668959
Test: atest CtsMediaQualityTestCases
Flag: EXEMPT bugfix

Change-Id: I6f48e27bbe9d4c2b4aeb45d96f237fc335b8cb64
parent fee75f23
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -482,6 +482,7 @@ public class MediaQualityService extends SystemService {
                    // put ID in params for profile update in HAL
                    // TODO: update HAL API for this case
                    params.putLong(BaseParameters.PARAMETER_ID, longId);
                    params.putBoolean("default_picture_profile", true);
                    PictureParameter[] pictureParameters = MediaQualityUtils
                            .convertPersistableBundleToPictureParameterList(params);