Keep user specified APN in all upper case.
The APN list UI incorrectly assumes that the user specified APN would
never match any APN found in shill's mobile operator database. If a user
specifies an APN that matches an existing APN provided by shill, the UI
goes into a weird state as described in b/78199279. To help resolve the
ambiguity situation, we leverage the fact that APNs are case sensitive.
This CL changes the APN list UI to store the user specified APN in all
upper case, while CL:1028794 normalizes all APNs in shill's mobile
operator database to all lower case.
in the APN list. Verify that the user specified APN is stored in
all upper case and the issue described in b/78199279 is not
observed.
Bug: b/78199279
Test: Specify a custom APN with value that matches an existing one found
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I51994c87442c6e0a34e1637a8bf98b143f497059
Reviewed-on: https://chromium-review.googlesource.com/1028971Reviewed-by:
Steven Bennetts <stevenjb@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#553849}
Showing
Please register or sign in to comment