AIRPLANE_MODE_RADIOS如下面的描述,该值表示在飞行模式打开时,需要关闭的Radios列表,
列表内的Items以逗号区分;例如:"bluetooth,wifi"
6014 /** 6015 * A comma separated list of radios that need to be disabled when airplane mode 6016 * is on. This overrides WIFI_ON and BLUETOOTH_ON, if Wi-Fi and bluetooth are 6017 * included in the comma separated list. 6018 */ 6019 public static final String AIRPLANE_MODE_RADIOS = "airplane_mode_radios";
AIRPLANE_MODE_TOGGLEABLE_RADIOS如下面的描述,该值表示在飞行模式打开时,列表中的Radios需要被关闭,但用户可以重新打开,例如,从Settings APP重新打开。列表内的Items以逗号区分;例如:"bluetooth,wifi"
6021 /** 6022 * A comma separated list of radios that should to be disabled when airplane mode 6023 * is on, but can be manually reenabled by the user. For example, if RADIO_WIFI is 6024 * added to both AIRPLANE_MODE_RADIOS and AIRPLANE_MODE_TOGGLEABLE_RADIOS, then Wifi 6025 * will be turned off when entering airplane mode, but the user will be able to reenable 6026 * Wifi in the Settings app. 6027 * 6028 * { @hide} 6029 */ 6030 public static final String AIRPLANE_MODE_TOGGLEABLE_RADIOS = "airplane_mode_toggleable_radios";
Radios列表项包括如下:
5990 /** 5991 * Constant for use in AIRPLANE_MODE_RADIOS to specify Bluetooth radio. 5992 */ 5993 public static final String RADIO_BLUETOOTH = "bluetooth";