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

Commit b744db87 authored by Jinsuk Kim's avatar Jinsuk Kim Committed by android-build-merger
Browse files

am eb2c4a07: am dbdaea0c: Merge "CEC: Do null/empty check against the...

am eb2c4a07: am dbdaea0c: Merge "CEC: Do null/empty check against the parameter for checkRecordSource()" into lmp-mr1-dev
automerge: 7e79bdb4

* commit '7e79bdb4':
  CEC: Do null/empty check against the parameter for checkRecordSource()
parents f0569c16 7e79bdb4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -759,6 +759,8 @@ public final class HdmiRecordSources {
     */
    @SystemApi
    public static boolean checkRecordSource(byte[] recordSource) {
        if (recordSource == null || recordSource.length == 0) return false;

        int recordSourceType = recordSource[0];
        int extraDataSize = recordSource.length - 1;
        switch (recordSourceType) {