From 36a64148b4efc246384e2010e5d0a37f16dbbd01 Mon Sep 17 00:00:00 2001 From: Karl Rosaen Date: Sun, 20 Sep 2009 15:09:42 -0700 Subject: [PATCH] Show silent mode toast immediately, and for 3.5 seconds instead of 2. --- policy/com/android/internal/policy/impl/LockScreen.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/policy/com/android/internal/policy/impl/LockScreen.java b/policy/com/android/internal/policy/impl/LockScreen.java index afde89503993c..8ed035f65abe7 100644 --- a/policy/com/android/internal/policy/impl/LockScreen.java +++ b/policy/com/android/internal/policy/impl/LockScreen.java @@ -255,18 +255,18 @@ class LockScreen extends LinearLayout implements KeyguardScreen, KeyguardUpdateM textView.setCompoundDrawablePadding(4); } }; - textView.postDelayed(mPendingR1, 400); + textView.postDelayed(mPendingR1, 0); mPendingR2 = new Runnable() { public void run() { textView.setText(""); textView.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0); } }; - textView.postDelayed(mPendingR2, 2000); + textView.postDelayed(mPendingR2, 3500); } private Runnable mPendingR1; private Runnable mPendingR2; - + private void refreshAlarmDisplay() { mNextAlarm = mLockPatternUtils.getNextAlarm();