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

Commit 21faeb60 authored by Haofan Wang's avatar Haofan Wang Committed by Android (Google) Code Review
Browse files

Merge "[MQ] Fix IMAX_SDR can't be found" into main

parents e5f8bcaa a146676a
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -522,6 +522,7 @@ public class MediaQualityService extends SystemService {
                return false;
                return false;
            }
            }


            mPictureProfileForHal.add(longId);
            SharedPreferences.Editor editor = mPictureProfileSharedPreference.edit();
            SharedPreferences.Editor editor = mPictureProfileSharedPreference.edit();
            editor.putLong(DEFAULT_PICTURE_PROFILE_ID, longId);
            editor.putLong(DEFAULT_PICTURE_PROFILE_ID, longId);
            editor.apply();
            editor.apply();
@@ -2101,6 +2102,7 @@ public class MediaQualityService extends SystemService {
                                Process.INVALID_PID);
                                Process.INVALID_PID);


                        mPictureProfileForHal.add(profileHandle);
                        mPictureProfileForHal.add(profileHandle);
                        mPictureProfileForHal.add(current.getHandle().getId());
                        mHalNotifier.notifyHalOnPictureProfileChange(profileHandle,
                        mHalNotifier.notifyHalOnPictureProfileChange(profileHandle,
                                currentProfileParameters);
                                currentProfileParameters);
                    } else {
                    } else {
@@ -2144,6 +2146,7 @@ public class MediaQualityService extends SystemService {
                                current.getProfileId(), current, Process.INVALID_UID,
                                current.getProfileId(), current, Process.INVALID_UID,
                                Process.INVALID_PID);
                                Process.INVALID_PID);


                        mPictureProfileForHal.add(current.getHandle().getId());
                        mPictureProfileForHal.add(profileHandle);
                        mPictureProfileForHal.add(profileHandle);
                        mHalNotifier.notifyHalOnPictureProfileChange(profileHandle,
                        mHalNotifier.notifyHalOnPictureProfileChange(profileHandle,
                                currentProfileParameters);
                                currentProfileParameters);
+1 −1

File changed.

Contains only whitespace changes.