summaryrefslogtreecommitdiffstats
path: root/core/java/android/app/FragmentManager.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-06-19 13:32:22 -0700
committerJeff Sharkey <jsharkey@android.com>2012-06-19 13:32:22 -0700
commit0abe556d28f5f5d395559cc6567b05939d1b2640 (patch)
treea6c328726c1f7cff8db804cb40742133147aae51 /core/java/android/app/FragmentManager.java
parentfe54cb6f3da7fe95d5141d97b0c6780e001ad058 (diff)
downloadframeworks_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