OSDN Git Service

Only decode EXT1 tag when it is available.
authorJohn Wang <johnwang@google.com>
Tue, 15 Feb 2011 01:36:42 +0000 (17:36 -0800)
committerandroid-merger <android-build@android.com>
Fri, 18 Feb 2011 15:15:32 +0000 (07:15 -0800)
commit0f145409d4575cdc85651b389020e76a76082157
tree08933f1a77425e80d5f924ccc4aadcff45b59a30
parentb417337486667a47c6e0c8430d4095e182f4aaa0
Only decode EXT1 tag when it is available.

Normally ADN record is stored in two tags, EFADN_TAG and EFEXT1_TAG. But if the EFEXT1_TAG is not set in EF_PBR entry,
it shouldn't be decoded otherwise it causes NullPointerException in readAdnFileAndWait().

bug: 3376954
Change-Id: I744cf5cb8662c75be1e7c6219fa92c67bdda82f2
telephony/java/com/android/internal/telephony/gsm/UsimPhoneBookManager.java