From edbdd3a024ca35c331036823dde1f484d3333b31 Mon Sep 17 00:00:00 2001 From: Daniel Sandler Date: Tue, 21 Jun 2011 12:57:08 -0400 Subject: Fix statusbar crash when DeskClock alarms go off. Bug: 4723790 Change-Id: Ia819b6a35b5b103d28f6db3b25c815f77827f80f --- .../src/com/android/systemui/statusbar/phone/PhoneStatusBar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index 0b82123..f3c2623 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -1721,7 +1721,7 @@ public class PhoneStatusBar extends StatusBar { || Intent.ACTION_SCREEN_OFF.equals(action)) { boolean excludeRecents = false; if (Intent.ACTION_CLOSE_SYSTEM_DIALOGS.equals(action)) { - String reason = intent.getExtras().getString("reason"); + String reason = intent.getStringExtra("reason"); if (reason != null) { excludeRecents = reason.equals("recentapps"); } -- cgit v1.1