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

Commit 1f49807d authored by Manikanta Sivapala's avatar Manikanta Sivapala Committed by Linux Build Service Account
Browse files

framworks: fix for handling 0x24 ctrl set for CEA rendering

Handling excpetion for  0x24 ctrl command

Change-Id: I8d22f34923842d01cb3bf483b3e31f39ea0dcb48
parent b0765b23
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -609,9 +609,11 @@ class CCParser {
            if (mLines[mRow] != null) {
                for (int i = 0; i < mCol; i++) {
                    if (mLines[mRow].charAt(i) != TS) {
                        for (int j = mCol; j < mLines[mRow].length(); j++) {
                        for (int j = mCol; j < mLines[mRow].length() && j < mLines.length; j++) {
                          if (mLines[j] != null){
                               mLines[j].setCharAt(j, TS);
                           }
                        }
                        return;
                    }
                }