commit | a96501cff3ca998bb705b49feede6af28a53189d | [log] [tgz] |
---|---|---|
author | Ta-wei Yen <[email protected]> | Tue Jul 12 15:16:15 2016 -0700 |
committer | Ta-wei Yen <[email protected]> | Tue Jul 12 15:16:15 2016 -0700 |
tree | 945aeb17cbaf6f614a5bc098516ddb720ffe8fb6 | |
parent | 19ac71d04272951270d282c6d28d926a49598742 [diff] |
Implement UI for changing voicemail PIN The temporary dialog for chagin PIN is replaced. The setting still reside in Dialer->settings->call->voicemail https://screenshot.googleplex.com/gKzDdP9DnHH To change the PIN, the user must enter their old PIN first. https://screenshot.googleplex.com/jMBcrkiJquJ Which will be checked with the server. https://screenshot.googleplex.com/38iz4wOySF9 https://screenshot.googleplex.com/mxjnXgSWNAH After the old PIN is confirmed, the user then proceed to enter the new PIN. The length requirement from the server will be enforced. https://screenshot.googleplex.com/d7cigtR08di https://screenshot.googleplex.com/0MVVzViuArP https://screenshot.googleplex.com/mwnRda213HO The user then must confirm their new PIN https://screenshot.googleplex.com/4R9T5m3sPp4 https://screenshot.googleplex.com/GHmqSDxPr1z The change will be commited to the server https://screenshot.googleplex.com/38iz4wOySF9 If it succeeded, the user will return to the setting screen, and a toast will be shown. https://screenshot.googleplex.com/a7qPxQOvPJm else an error message will be shown, and the user will return to the enter new PIN step. If the default PIN was set by the OMTP client before, the user will be asked to "Set PIN" instead https://screenshot.googleplex.com/RPYRxqOFSkw The default PIN will be validated first https://screenshot.googleplex.com/bYZcROA560B If the server rejects the default PIN, The flow will continue as the regular change PIN process. Else the enter old pin step is by passed and the user will go to the enter new PIN step directly. If other error happens in this step, a message will be shown https://screenshot.googleplex.com/YRKLo5VmGzL and the user will then return to the settings screen + All phone account dependent storaged is moved to VisualVoicemailPreferences. - Retry in OmtpSyncService is removed. It was never ran, and a new retry mechanism will be added later. Fixes: 29082418 Fixes: 29102412 Fixes: 29903609 Change-Id: I28dcc08113120abedd907fa8faffd3eb00bd87b4