OSDN Git Service

Attempt to fix missing clock bug
authorJim Miller <jaggies@google.com>
Thu, 29 Aug 2013 00:41:16 +0000 (17:41 -0700)
committerJim Miller <jaggies@google.com>
Thu, 29 Aug 2013 00:41:16 +0000 (17:41 -0700)
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

index d4b79b7..eedb7d0 100644 (file)
@@ -1213,6 +1213,7 @@ public class KeyguardHostView extends KeyguardViewBase {
 
     private void addWidgetsFromSettings() {
         if (mSafeModeEnabled || widgetsDisabled()) {
+            addDefaultStatusWidget(0);
             return;
         }