diff options
author | Nick Pelly <npelly@google.com> | 2011-08-10 13:39:29 -0700 |
---|---|---|
committer | Nick Pelly <npelly@google.com> | 2011-08-10 15:33:45 -0700 |
commit | d1936808c5f37f97fdb876836194ecbfe1cdfff5 (patch) | |
tree | 09ef95f65a499b364ef678865cba879422959be4 /src/com/android/nfc | |
parent | 27efddd6af385a12b7acc0a3cee163a8492add85 (diff) | |
download | packages_apps_nfc-d1936808c5f37f97fdb876836194ecbfe1cdfff5.zip packages_apps_nfc-d1936808c5f37f97fdb876836194ecbfe1cdfff5.tar.gz packages_apps_nfc-d1936808c5f37f97fdb876836194ecbfe1cdfff5.tar.bz2 |
Address code review comments for "Increase priority of EnableDisableTask..."
Restore THREAD_PRIORITY_BACKGROUND.
Change-Id: Id33b3c9d38e04fd61a758b81e46d26ec22a1aae0
Diffstat (limited to 'src/com/android/nfc')
-rwxr-xr-x | src/com/android/nfc/NfcService.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/nfc/NfcService.java b/src/com/android/nfc/NfcService.java index 500f7d7..6aeda8a 100755 --- a/src/com/android/nfc/NfcService.java +++ b/src/com/android/nfc/NfcService.java @@ -435,6 +435,9 @@ public class NfcService extends Application implements DeviceHostListener, P2pSt executeEeWipe(); break; } + + // Restore default AsyncTask priority + Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); return null; } |