summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorRene Mayrhofer <rmayrhofer@google.com>2018-11-28 11:32:40 -0800
committerRene Mayrhofer <rmayrhofer@google.com>2018-12-27 23:33:29 +0000
commit7d6c8e5ec94802359809b303765d2c0c687a4baf (patch)
tree6f77ba62e4fb696eda60df51cefa9ae80c3a0100 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentdb25df71be4c1bcc654f69ce9a8bff7e3ef46360 (diff)
Enable airplane mode when booting in safe mode
Make it possible to boot in airplane mode when it was not turned on before shutdown/reboot, either for situations where this is required by regulation or to work around problems in normal boot. When safe mode is engaged (Vol-Down), disable in two stages: 1. Set Settings.Global.AIRPLANE_MODE_ON as early as possible for subsystems to react to it during their initialization. 2. Trigger the public ConnectiviyService API to enable airplane mode. This has to be done during later stages in initialization because it requires sending broadcasts, so some RF leakage may still happen before airplane mode is enabled (time window of a few seconds). Bluetooth is not currently disabled and needs to be fixed by another change. WiFi and NFC are turned off alongside cellular modems. Test: manual Bug: 120145930 Change-Id: I1d61990a9d6f7cd046d28b3e49ecf402dd485063
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions