diff options
author | Martijn Coenen <maco@google.com> | 2012-10-12 15:06:36 -0700 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2012-10-12 15:10:01 -0700 |
commit | 81aa9898af2f99506cb025e9d8e37252d80c42fa (patch) | |
tree | 37171cee55fa4dd7f4da95bd2097ebae439690ba /src/com/android/nfc/FireflyRenderer.java | |
parent | 59f43aefee220afd41baa97ce2043017c171be73 (diff) | |
download | packages_apps_nfc-81aa9898af2f99506cb025e9d8e37252d80c42fa.zip packages_apps_nfc-81aa9898af2f99506cb025e9d8e37252d80c42fa.tar.gz packages_apps_nfc-81aa9898af2f99506cb025e9d8e37252d80c42fa.tar.bz2 |
Don't hold a timed wakelock.
We used to acquire a timed wakelock when either resuming
or suspending. We don't want to take a timed wakelock
when suspending, since we want to suspend asap, but also
don't want to underlock the wakelock.
Instead of taking a timed wakelock, just abort
the process in case the NFC controller hangs.
Bug: 7341879
Change-Id: Ibd2f468264f60a39db3cb271a6f05c50dfb559bf
Diffstat (limited to 'src/com/android/nfc/FireflyRenderer.java')
0 files changed, 0 insertions, 0 deletions