From a dupe:
Ben says: When the user switches to airplane mode, if the mode change fails, pop up a system dialog that says "Unable to switch to Airplane mode. Please try again." [OK] and the switch reverts to airplane off state.
From a dupe:
Ben says: When the user switches to airplane mode, if the mode change fails, pop up a system dialog that says "Unable to switch to Airplane mode. Please try again." [OK] and the switch reverts to airplane off state.