OSDN Git Service

Turn off/on wifi to correspond with hotspot
authorJason Monk <jmonk@google.com>
Tue, 5 Aug 2014 20:24:22 +0000 (16:24 -0400)
committerJason Monk <jmonk@google.com>
Wed, 6 Aug 2014 13:04:06 +0000 (13:04 +0000)
commit256a22663dbeb31cf4f4a6e295e0c74d80e4fecb
tree6b18805923243284859ca865da5c1544ae9c5245
parent0831de10c8cde0b6ca54cc069c3b993aa2f1bc8c
Turn off/on wifi to correspond with hotspot

Add logic to act the same way Settings does.  Without this sometimes
wifi is in the wrong state (on) and the hotspot wont turn on.

Bug: 16818232
Change-Id: Iaa7950a1c2097cfd798eddb604b49b3a152f1260
packages/SystemUI/src/com/android/systemui/statusbar/policy/HotspotControllerImpl.java