OSDN Git Service

Only show the "Disable eSIM" when eSIM profile is enabled
authorqingxi <qingxi@google.com>
Wed, 24 May 2017 22:33:13 +0000 (15:33 -0700)
committerqingxi <qingxi@google.com>
Tue, 6 Jun 2017 23:12:06 +0000 (16:12 -0700)
commit12f2de4f4fcdb5a20ddca80c340076bcc09cc8ea
tree5cfef45fe365f5ca9e61fb70b6a2253440515db4
parente5ef67692ea9c53786ab82b458e0a5e8e34fdfac
Only show the "Disable eSIM" when eSIM profile is enabled

Before this CL, we always show "Disable eSIM" button in SIM lock screen
if the device has eSIM chip. This may make the user who has never used
eSIM or currently is not activated the eSIM Profile confused. This CL
makes the "Disable eSIM" button only be shown iff the device has eSIM
chip and the current activated Profile is eSIM profile.

Bug: 37518023
Test: E2E
Change-Id: Id5a1325f49733528a370ec7145fe49731243bcf7
packages/SystemUI/res-keyguard/layout/keyguard_sim_pin_view.xml
packages/SystemUI/res-keyguard/layout/keyguard_sim_puk_view.xml
packages/SystemUI/src/com/android/keyguard/KeyguardEsimArea.java
packages/SystemUI/src/com/android/keyguard/KeyguardSimPinView.java
packages/SystemUI/src/com/android/keyguard/KeyguardSimPukView.java