OSDN Git Service

Use Uppercase instead of Lowercase for PLMN Decode
authorNathan Harold <nharold@google.com>
Thu, 7 Jun 2018 23:00:22 +0000 (16:00 -0700)
committerNathan Harold <nharold@google.com>
Thu, 7 Jun 2018 23:24:14 +0000 (16:24 -0700)
commitb70fbc85f7496dd1b43ed70f0c480184ba5e9585
treeb95fb8ee4462bcaa609ea4a6ecb9a05b5106bc4a
parent9f1885dee8fe5cbce8f7150ab8b26df6d363ac34
Use Uppercase instead of Lowercase for PLMN Decode

A change to IccUtils converted from using lowercase
to uppercase and broke the PLMN trimming logic.

This resolves bugs where the platform may report
5-digit PLMNs with an invalid trailing 'F' character.

This fixes an issue introduced by aosp/575243, which
impacts the Manual Network Selection menu and
the public API.

Bug: 79561854
Test: compilation
Change-Id: I5ea7867cd9c11fe4454188fd1f30bf58b2911712
telephony/java/com/android/internal/telephony/uicc/IccUtils.java