From 2ec4ff435b0af87a6c0f933e6eaf1155e34c430f Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Wed, 28 Aug 2013 17:41:16 -0700 Subject: 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 --- packages/Keyguard/src/com/android/keyguard/KeyguardHostView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardHostView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardHostView.java index d4b79b7b4d20..eedb7d06e8fe 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; } -- cgit v1.2.3-59-g8ed1b