summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2013-08-28 17:41:16 -0700
committerJim Miller <jaggies@google.com>2013-08-28 17:41:16 -0700
commit2ec4ff435b0af87a6c0f933e6eaf1155e34c430f (patch)
tree130e685fe9f774fa6c43c03e7693c6a2dbe10142 /packages/Keyguard
parentf8388885e49a0a0fa71f9a90301bd90a349cb1dd (diff)
downloadframeworks_base-2ec4ff435b0af87a6c0f933e6eaf1155e34c430f.zip
frameworks_base-2ec4ff435b0af87a6c0f933e6eaf1155e34c430f.tar.gz
frameworks_base-2ec4ff435b0af87a6c0f933e6eaf1155e34c430f.tar.bz2
Attempt to fix missing clock bug
This attempts to fix a bug where the clock wasn't being added when widgets are disabled. Fixes bug 10473246 Change-Id: I63f4c04778da938b6fa1bc74de3fa0463412da0f
Diffstat (limited to 'packages/Keyguard')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardHostView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardHostView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardHostView.java
index d4b79b7..eedb7d0 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardHostView.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardHostView.java
@@ -1213,6 +1213,7 @@ public class KeyguardHostView extends KeyguardViewBase {
private void addWidgetsFromSettings() {
if (mSafeModeEnabled || widgetsDisabled()) {
+ addDefaultStatusWidget(0);
return;
}