Show silent mode toast immediately, and for 3.5 seconds instead of 2.
diff --git a/policy/com/android/internal/policy/impl/LockScreen.java b/policy/com/android/internal/policy/impl/LockScreen.java
index afde895..8ed035f 100644
--- a/policy/com/android/internal/policy/impl/LockScreen.java
+++ b/policy/com/android/internal/policy/impl/LockScreen.java
@@ -255,18 +255,18 @@
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();