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

Commit 2ac1fd3c authored by Jae Seo's avatar Jae Seo
Browse files

TIF: Avoid generating locale dependent input IDs

Bug: 22519551
Change-Id: Id818f075fa4863b6e1a6f707e0debe8f08973f25
parent 11813232
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Locale;
import java.util.Map;
import java.util.Set;

@@ -611,7 +612,7 @@ public final class TvInputInfo implements Parcelable {
        String format = DELIMITER_INFO_IN_ID + PREFIX_HDMI_DEVICE
                + "%0" + LENGTH_HDMI_PHYSICAL_ADDRESS + "X"
                + "%0" + LENGTH_HDMI_DEVICE_ID + "X";
        return name.flattenToShortString() + String.format(format,
        return name.flattenToShortString() + String.format(Locale.ENGLISH, format,
                deviceInfo.getPhysicalAddress(), deviceInfo.getId());
    }