mirror of
https://github.com/androidx/media.git
synced 2025-05-10 00:59:51 +08:00
Merge pull request #9834 from TheJohnBowers:fix_9832
PiperOrigin-RevId: 419864140
This commit is contained in:
commit
dfec9c71de
@ -142,7 +142,7 @@ public final class UrlTemplate {
|
|||||||
// Allowed conversions are decimal integer (which is the only conversion allowed by the
|
// Allowed conversions are decimal integer (which is the only conversion allowed by the
|
||||||
// DASH specification) and hexadecimal integer (due to existing content that uses it).
|
// DASH specification) and hexadecimal integer (due to existing content that uses it).
|
||||||
// Else we assume that the conversion is missing, and that it should be decimal integer.
|
// Else we assume that the conversion is missing, and that it should be decimal integer.
|
||||||
if (!formatTag.endsWith("d") && !formatTag.endsWith("x")) {
|
if (!formatTag.endsWith("d") && !formatTag.endsWith("x") && !formatTag.endsWith("X")) {
|
||||||
formatTag += "d";
|
formatTag += "d";
|
||||||
}
|
}
|
||||||
identifier = identifier.substring(0, formatTagIndex);
|
identifier = identifier.substring(0, formatTagIndex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user