本帖最後由 palaka 於 2012-1-12 11:38 編輯
bernie1633 發表於 2012-1-12 10:41
那為什麼先開飛航再開wifi就沒事呢
飛航是把“目前”開啟的通話、網路關閉
待關閉飛航後再回復
開啟後,不會再去對其作開關的控制,只會處理一些例外狀況
↓以下截錄於Android Airplane Mode的源始碼,有興趣的話可以去看看
/**
* Called when we've received confirmation that the airplane mode was set.
* TODO: We update the checkbox summary when we get notified
* that mobile radio is powered up/down. We should not have dependency
* on one radio alone. We need to do the following:
* - handle the case of wifi/bluetooth failures
* - mobile does not send failure notification, fail on timeout.
*/
|