diff options
author | Daniel Sandler <dsandler@android.com> | 2011-06-21 12:57:08 -0400 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2011-06-21 12:57:08 -0400 |
commit | edbdd3a024ca35c331036823dde1f484d3333b31 (patch) | |
tree | f43420f8148b5960dc2ed2249cce6e2052548a1e /packages | |
parent | 932368e1ecc45ff402f7c537095b872fadf34039 (diff) | |
download | frameworks_base-edbdd3a024ca35c331036823dde1f484d3333b31.zip frameworks_base-edbdd3a024ca35c331036823dde1f484d3333b31.tar.gz frameworks_base-edbdd3a024ca35c331036823dde1f484d3333b31.tar.bz2 |
Fix statusbar crash when DeskClock alarms go off.
Bug: 4723790
Change-Id: Ia819b6a35b5b103d28f6db3b25c815f77827f80f
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } |