Skip to content

Commit

Permalink
Cherry pick PR #1951: Use Locale for android String.format (#1955)
Browse files Browse the repository at this point in the history
Refer to the original PR: #1951

b/309959142

Co-authored-by: Andrew Savage <[email protected]>
  • Loading branch information
cobalt-github-releaser-bot and andrewsavage1 committed Nov 10, 2023
1 parent 6e6d356 commit 9ebdbc6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.UUID;

/** A wrapper of the android MediaDrm class. */
Expand Down Expand Up @@ -772,7 +773,7 @@ private void getConnectedHdcpLevelInfoV29(MediaDrm mediaDrm) {
Log.i(TAG, "MediaDrm HDCP Level is HDCP_LEVEL_UNKNOWN.");
break;
default:
Log.i(TAG, String.format("Unknown MediaDrm HDCP level %d.", hdcpLevel));
Log.i(TAG, String.format(Locale.US, "Unknown MediaDrm HDCP level %d.", hdcpLevel));
break;
}
}
Expand Down

0 comments on commit 9ebdbc6

Please sign in to comment.