diff options
author | Jeff Sharkey <jsharkey@android.com> | 2012-06-19 13:32:22 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2012-06-19 13:32:22 -0700 |
commit | 0abe556d28f5f5d395559cc6567b05939d1b2640 (patch) | |
tree | a6c328726c1f7cff8db804cb40742133147aae51 /core/java/android/app/FragmentManager.java | |
parent | fe54cb6f3da7fe95d5141d97b0c6780e001ad058 (diff) | |
download | frameworks_base-0abe556d28f5f5d395559cc6567b05939d1b2640.zip frameworks_base-0abe556d28f5f5d395559cc6567b05939d1b2640.tar.gz frameworks_base-0abe556d28f5f5d395559cc6567b05939d1b2640.tar.bz2 |
Handle SCREEN_ON/OFF broadcasts without blocking.
NetworkPolicy currently uses a single background thread to process
various broadcasts. When processing other broadcasts, this thread
can block our handling of SCREEN_ON/OFF, which are sent as ordered
broadcasts.
This change moves SCREEN_ON/OFF handling to the main thread, and
dispatches a one-way message to the background thread, allowing the
ordered broadcast to always proceed.
Bug: 6677047
Change-Id: I52de2c7b75beb8059bb87e123689ba4a9c4ae349
Diffstat (limited to 'core/java/android/app/FragmentManager.java')
0 files changed, 0 insertions, 0 deletions