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

Commit 3219310c authored by Haofan Wang's avatar Haofan Wang
Browse files

Include param for get TvInput APIs and getDefaultPictureProfile

Bug: 417619330
Test: m
Flag: EXEMPT bug fix
Change-Id: I3856e585ab77cd671fd0540d095b86e10015994d
parent 4367e33c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -501,7 +501,7 @@ public class MediaQualityService extends SystemService {
                if (currentDefaultPictureProfile != null) {
                    return currentDefaultPictureProfile;
                } else {
                    return mMqDatabaseUtils.getPictureProfile(defaultPictureProfileId);
                    return mMqDatabaseUtils.getPictureProfile(defaultPictureProfileId, true);
                }
            }
            return null;
@@ -681,7 +681,7 @@ public class MediaQualityService extends SystemService {
            if (profileHandle == -1) {
                return null;
            }
            return mMqDatabaseUtils.getPictureProfile(profileHandle);
            return mMqDatabaseUtils.getPictureProfile(profileHandle, true);
        }

        public List<PictureProfile> getAllPictureProfilesForTvInput(String inputId, int userId) {
@@ -692,7 +692,7 @@ public class MediaQualityService extends SystemService {
                mMqManagerNotifier.notifyOnPictureProfileError(
                        null, PictureProfile.ERROR_NO_PERMISSION, callingUid, callingPid);
            }
            String[] columns = {BaseParameters.PARAMETER_ID};
            String[] columns = MediaQualityUtils.getMediaProfileColumns(/* includeParams= */ true);
            String selection = BaseParameters.PARAMETER_TYPE + " = ? AND "
                    + BaseParameters.PARAMETER_INPUT_ID + " = ?";
            String[] selectionArguments = {