這是private function ,只有 WifiHandler 使用:
- MESSAGE_ENABLE_WIFI
- MESSAGE_DISABLE_WIFI
-- 也是 private
call sendEnableMessage( ) 的 有:
- private : doUpdateWifiState
- public : setWifiEnabled
doUpdateWifiState( ) 一樣,也是在 message handler MESSAGE_UPDATE_STATE 中呼叫,
--private : updateWifiState()
updateWifiState( ) 在:
- Broadcast Receiver: ACTION_AIRPLANE_MODE_CHANGED
- Broadcast Receiver: ACTION_TETHER_STATE_CHANGED
- Receiver SCREEN_OFF inteent
- private : acquireWifiLockLocked
- private : releaseWifiLockLocked
沒有留言:
張貼留言