OSDN Git Service

reset col position to 1 on row PAC
authorChong Zhang <chz@google.com>
Fri, 6 Feb 2015 00:46:06 +0000 (16:46 -0800)
committerChong Zhang <chz@google.com>
Fri, 6 Feb 2015 00:46:06 +0000 (16:46 -0800)
bug: 19284568
Change-Id: I7d439027ab6411bcd5c149580babee80dc5f9478

media/java/android/media/ClosedCaptionRenderer.java

index ec33c5c..d34b21b 100644 (file)
@@ -666,7 +666,7 @@ class CCParser {
             if (pac.isIndentPAC()) {
                 moveCursorTo(pac.getRow(), pac.getCol());
             } else {
-                moveCursorToRow(pac.getRow());
+                moveCursorTo(pac.getRow(), 1);
             }
             getLineBuffer(mRow).setPACAt(mCol, pac);
         }