diff options
| author | 2015-12-11 11:44:33 +0900 | |
|---|---|---|
| committer | 2022-08-05 17:54:05 +0000 | |
| commit | 4c8e2ca6d489661c23e401a20e2e9681deb8c5b1 (patch) | |
| tree | aed070a797b2d298765b5760935db6ef275845f3 /libs/androidfw/StringPool.cpp | |
| parent | 6fe49fb663e885148e2d944576ef1b56fc49234c (diff) | |
Limit the accepted length of SIM PIN to 8 digits
Adding the upper limit results in the correct error message being
displayed to the end user - "Type a PIN that is 4 to 8 numbers."
Limiting the SIM PIN length to between 4-8 digits is part of the
GSM SIM security requirements. See GSM 02.17 version 5.0.1,
Section 5.6 PIN Management.
Bug: 31331481
Test: 1. Insert a SIM card with SIM PIN enabled
2. Start the device
3. Enter a SIM PIN with a length > 8
Change-Id: Ie5fba1c79074910b0bfd54df51e4412bbf32f5fe
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions