* Use a script to swap check if we are in an A2DP phone call
* Use an app to check if we are in a VoIP or A2DP call and pass parameters accordingly
* Correctly route A2DP phone calls to the actual bluetooth device instead of earpiece and un-swap speaker and earpiece in VoIP calls
Change-Id: I1de8b2ed57b265b65cf619000e78e290c98e3d5c
Co-Authored-By: Ruchit <ruchitmarathe@gmail.com>
And also fix a dumb spelling mistake along the way lol
Change-Id: Ia7930b6ea149777a01eee3e13ff32c5d7234903e
Change-Id: I4fe37450f38c2991e024b7590a579f521136e848
Macloader wants to set this, and if it does it makes hotspot choose the wrong interface, making devices not connect to hotspot over wifi.
Change-Id: Iba9208f9cb17b169697eab7cf52c87e05e5be6e1
*Patch RIL again since Samsung changed prop names
*Update configs
*Update sepolicy for new blob updates
*dont allow rild and camera to access every prop, preventing log spam
*Also import Samsung's thermal HAL since health blobs now depend on it. Label it as hal_thermal_samsung_hwservice since hal_thermal_hwservice is a neverallow in health sepolicy
Change-Id: Ic6d699115c2e18f722b623e5a07e3a88e222f1f3
Simon1511: libsec-ril sets a prop (ril.dds.call.slotid) when in call with Sim1 or Sim2. Patch libsec-ril to make that prop vendor lable-able (vendor.calls.slotid). Then use that prop to check which Sim is currently in a call (0 for Sim1 and 1 for Sim2) and pass the arguments to audio HAL depending on that.
Note for later: Check whether passing [g_]call_state is really needed
Change-Id: I5a0dfd3b100287a2cf1ec3c156292487dc4da3d5