OSDN Git Service

Update sim missing message in lock screen.
authorJohn Wang <johnwang@google.com>
Mon, 13 Jun 2011 23:17:39 +0000 (16:17 -0700)
committerJohn Wang <johnwang@google.com>
Mon, 13 Jun 2011 23:17:39 +0000 (16:17 -0700)
Update SIM missing message to include SIM corrupted situation.

bug:4392059
Change-Id: Icf2f8d801a2e2761a309442209118a6a71a4c633

core/res/res/values/strings.xml
policy/src/com/android/internal/policy/impl/LockScreen.java

index 20ee8ff..0161e1c 100755 (executable)
     <string name="lockscreen_missing_sim_message" product="default">No SIM card in phone.</string>
     <!-- Shown in the lock screen to ask the user to insert a SIM card. -->
     <string name="lockscreen_missing_sim_instructions">Please insert a SIM card.</string>
+    <!-- Shown in the lock screen to ask the user to insert a SIM card when sim is missing or not readable. -->
+    <string name="lockscreen_missing_sim_instructions_long">The SIM card is missing or not readable. Please insert a SIM card.</string>
 
     <!-- Shown in the lock screen when there is emergency calls only mode. -->
     <string name="emergency_calls_only" msgid="2485604591272668370">Emergency calls only</string>
index 6f7a6ee..88f4f23 100644 (file)
@@ -534,7 +534,7 @@ class LockScreen extends LinearLayout implements KeyguardScreen,
             case SimMissing:
                 // text
                 mStatusView.setCarrierText(R.string.lockscreen_missing_sim_message_short);
-                mScreenLocked.setText(R.string.lockscreen_missing_sim_instructions);
+                mScreenLocked.setText(R.string.lockscreen_missing_sim_instructions_long);
 
                 // layout
                 mScreenLocked.setVisibility(View.VISIBLE);