OSDN Git Service

Don't grab wakelock if Wifi feature not supported on device
authorNick Vaccaro <nvaccaro@google.com>
Thu, 22 May 2014 00:19:30 +0000 (17:19 -0700)
committerNick Vaccaro <nvaccaro@google.com>
Thu, 22 May 2014 21:48:22 +0000 (21:48 +0000)
commit117df282017945f3b3f05dc43a6f436d19d3f071
treef01c140469b994fa15e5c3a728f477cb346d6663
parentc3104157d8f12238b0ac8cf6c6f963dadb44167c
Don't grab wakelock if Wifi feature not supported on device

Only grab the suspend wakelock when handling screen on/off
transitions if the device actually supports Wifi.

Bug: 14250726
Change-Id: Ic332cf84e40622ab6bbe60a2288ee478f1cabb2a
wifi/java/android/net/wifi/WifiStateMachine.java