3 ms·
You could recreate this using tech too. Make the UI for turning on airplane mode much easier than turning it off.
by olodus 8y ago
You could recreate this using tech too. Make the UI for turning on airplane mode much easier than turning it off.
- rhinoceraptor 8y agoThat could be a little questionable as far as safety is concerned since you want to be able to call 911 quickly.
- anticensor 8y agoimport phone_util import dialer emergency_numbers={"101","110","111","112","155","555","888","911","999"} if number is in emergency_numbers: phone_util.flight_mode(False) await dialer.dial(number) phone_util.flight_mode(True) else: phone_util.gui_alert.touch_modal("No network available",WITH_OK:True,MODUS:phone_util.UIprimitives.WARNING) EDIT: now it returns back to flight mode after emergency/fire services/police call
- rhinoceraptor 8y agoIt still has to re-initialize the connection when you take it out of airplane mode.