kopia lustrzana https://github.com/ge0rg/aprsdroid
				
				
				
			AFSK BT only allowed with HQ demod, fix #103
							rodzic
							
								
									d0bd1686f7
								
							
						
					
					
						commit
						b0c3796ddf
					
				|  | @ -9,14 +9,14 @@ | |||
|                 android:key="afsk.hqdemod" | ||||
| 		android:title="@string/p_afsk_hqdemod" | ||||
| 		android:summary="@string/p_afsk_hqdemod_summary" | ||||
| 		android:defaultValue="false" | ||||
| 		android:defaultValue="true" | ||||
| 		/> | ||||
| 
 | ||||
|         <CheckBoxPreference | ||||
|                 android:key="afsk.btsco" | ||||
| 		android:title="@string/p_afsk_btsco" | ||||
| 		android:summary="@string/p_afsk_btsco_summary" | ||||
| 		android:defaultValue="true" | ||||
| 		android:defaultValue="false" | ||||
| 		android:dependency="afsk.hqdemod" | ||||
| 		/> | ||||
| 
 | ||||
|  |  | |||
|  | @ -65,6 +65,6 @@ class PrefsWrapper(val context : Context) { | |||
| 		getPasscode(), getVersion()) | ||||
| 	 | ||||
| 	def getAfskHQ() = getBoolean("afsk.hqdemod", true) | ||||
| 	def getAfskBluetooth() = getBoolean("afsk.btsco", false) | ||||
| 	def getAfskBluetooth() = getBoolean("afsk.btsco", false) && getAfskHQ() | ||||
| 	def getAfskOutput() = if (getAfskBluetooth()) AudioManager.STREAM_VOICE_CALL else getStringInt("afsk.output", 0) | ||||
| } | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Georg Lukas
						Georg Lukas