↓以下截錄於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.
*/