am 07fba524: Fix 2209086: Update sound states in LockScreen.

Merge commit '07fba524a1dfa1a53b417a3e59c1a4797c49a9eb' into eclair-mr2

* commit '07fba524a1dfa1a53b417a3e59c1a4797c49a9eb':
  Fix 2209086: Update sound states in LockScreen.
This commit is contained in:
Jim Miller
2009-11-11 20:16:53 -08:00
committed by Android Git Automerger

View File

@@ -190,7 +190,6 @@ class LockScreen extends LinearLayout implements KeyguardScreen, KeyguardUpdateM
mScreenLocked = (TextView) findViewById(R.id.screenLocked);
mSelector = (SlidingTab) findViewById(R.id.tab_selector);
mSelector.setLeftHintText(R.string.lockscreen_unlock_label);
mSelector.setRightHintText(R.string.lockscreen_mute_unmute_label);
mEmergencyCallButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
mCallback.takeEmergencyCallAction();
@@ -228,6 +227,9 @@ class LockScreen extends LinearLayout implements KeyguardScreen, KeyguardUpdateM
: R.drawable.jog_tab_bar_right_sound_off,
mSilentMode ? R.drawable.jog_tab_right_sound_on
: R.drawable.jog_tab_right_sound_off);
mSelector.setRightHintText(mSilentMode ?
R.string.lockscreen_sound_on_label : R.string.lockscreen_sound_off_label);
}
private void resetStatusInfo(KeyguardUpdateMonitor updateMonitor) {