diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-11-29 11:29:02 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2011-11-29 12:55:50 -0800 |
commit | 672342c30903fa6b70a3e8e1977bb34210aede14 (patch) | |
tree | 1d58af6feb6354973d9b49ee2c4f3a5f91de3a3a /policy | |
parent | e5715521232443f01f8c0c0633cac364c8136bde (diff) | |
download | frameworks_base-672342c30903fa6b70a3e8e1977bb34210aede14.zip frameworks_base-672342c30903fa6b70a3e8e1977bb34210aede14.tar.gz frameworks_base-672342c30903fa6b70a3e8e1977bb34210aede14.tar.bz2 |
Another attempt at getting OOM reports to batch.
We now generate a stack-trace looking thing at the top of the report.
Also fix a bug I hit where the phone window manager was sending a
broadcast before the boot had completed.
Change-Id: I0cee16180e4d05c9bd3fe715212a28f504ec91ac
Diffstat (limited to 'policy')
-rwxr-xr-x | policy/src/com/android/internal/policy/impl/PhoneWindowManager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java index fd9e095..056f8c2 100755 --- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java @@ -3476,7 +3476,8 @@ public class PhoneWindowManager implements WindowManagerPolicy { } if (component != null) { // dismiss the notification shade, recents, etc. - mContext.sendBroadcast(new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS)); + mContext.sendBroadcast(new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS) + .addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT)); ComponentName cn = ComponentName.unflattenFromString(component); Intent intent = new Intent(Intent.ACTION_MAIN) |