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

Commit d9f10fad authored by Haofan Wang's avatar Haofan Wang
Browse files

Add null checker for util function

Bug: 391695285
Test: atest --iterations CtsMediaQualityTestCases
Flag: EXEMPT bugfix
Change-Id: Ia831a6c7af4a4007c7fce74eecd5278e8f79a2b0
parent 65ef8fb4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1025,6 +1025,7 @@ public final class MediaQualityUtils {
         * - PICTURE_QUALITY_EVENT_TYPE
         * - PANEL_INIT_MAX_LUMINCE_NITS
         */
        if (names == null) return null;

        HashSet<String> nameMap = new HashSet<>(names);