Fix MediaQuality bug for profile and callback handing
Fix addresses four key issues:
1. Avoid null cases when retrieving profiles from the database to prevent update issues.
2. Handle profile and non-profile callbacks separately when calling back to MediaQualityManager.
3. System_UID apps no longer require MANAGE_GLOBAL_PICTURE_QUALITY_SERVICE permission, preventing MediaQualityHAL callback blockage.
4. Use a switch-case to correctly retrieve all PictureParameter contents.
Bug: 437838660
Flag: EXEMPT BUGFIX
Test: Manual
No-Typo-Check: truSurroundX is a sound parameter
BYPASS_LARGE_CHANGE_WARNING: most lines are change from if statement to switch-case.
(cherry picked from https://tv-keystone-review.googlesource.com/q/commit:63450f8146e0a8b75f50818a5617e49ea14d8343)
Change-Id: Iea87d0b345ca79bea5b26b8398f442b72b37bc28
Loading
Please register or sign in to comment