summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothCodecConfig.java
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
commit14c2b631b9b7a974f23c1492a19b2a68e32446db (patch)
tree4060bc5e4c8f54a1d8ade2526c322e9adff05f37 /framework/java/android/bluetooth/BluetoothCodecConfig.java
parent9cf8a60b127ee5725fb3dc310a4dec2705599e73 (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 'framework/java/android/bluetooth/BluetoothCodecConfig.java')
0 files changed, 0 insertions, 0 deletions