An action block that enables or disables airplane mode.
The fiber will proceed immediately without pause.
On a rooted device, the requirement of Automate being set as default Assistant app can be avoided by choosing the Airplane mode workaround
option in settings.
On Android 9+ another alternative is to use the ADB shell command
block to execute: cmd connectivity airplane-mode <enable|disable>
.
Note! This feature isn’t officially supported until Android 6, a rooted device is required on lower versions, may not work on all devices.