Commit Graph

14 Commits

Author SHA1 Message Date
Peter Cai
978ccd40f9 gsi: Initial implementation of sysbta, a system-side bluetooth audio HAL
On platform release T, the legacy `audio.a2dp.default` HAL no longer
exists, and cannot be trivially restored for generic system-side A2DP
audio support. Rather than trying to cling on to its existence (which
does not even work anymore even if one did so), it is time to come up
with a new solution.

This commit introduces a system-side implementation of the generic
bluetooth audio HAL. The HAL itself is modelled after the default
bluetooth audio HAL, while substantial components of the default audio
HAL are also included as it has to also implement the audio HAL
interfaces.

The audio HAL implementation is delegated to `audio.sysbta.default`,
forked from `audio.bluetooth.default` from the Bluetooth apex package.
It then communicates with the bluetooth audio HAL interfaces, which need
to live in the same process (in this case, the process of the sysbta
HAL). This is why we cannot just load `audio.sysbta.default` into the
default audio HAL or the audioserver process directly, but rather have
to include our own simplistic audio HAL implementation.

For now, the audio HAL implementation only includes one for the 6.0
version, but technically, an interface for *every* audio HAL version
needs to exist. This, along with other messiness in the sysbta
implementation, will be addressed in a future commit.

Note that to actually make use of the sysbta audio hal, patches in
frameworks/av and packages/modules/Bluetooth are required to introduce
support for the property `persist.bluetooth.system_audio_hal.enabled`.
2022-10-04 16:26:52 -04:00
Peter Cai
a7009ad4ad gsi: Enable bluetooth profiles explicitly
This is now required on T
2022-10-04 16:26:01 -04:00
haridhayal11
2df56defaa Disable remote keyguard animation
Fixes slow post biometric auth screen wakeup.
2022-06-07 19:56:14 +05:30
Pierre-Hugues Husson
b3aad18611 Goodbye christmas animation. Put MY OTA json in my own specific file 2022-02-08 15:38:13 -05:00
Pierre-Hugues Husson
e32ab4aff1 Add path to OTA infos 2022-02-05 16:46:22 -05:00
Pierre-Hugues Husson
66108419f9 Tell realme fingerprint dirver we are running unlocked bootloader 2020-06-05 17:43:52 +02:00
Pierre-Hugues Husson
c4a41337e2 Allow 10 users/work profiles 2020-04-13 20:13:16 +02:00
Pierre-Hugues Husson
09a49059a9 Enable navbar by default 2020-04-05 01:40:25 +02:00
Pierre-Hugues Husson
b07cbb9e07 Disable annoying strict mode by default 2020-03-19 15:21:01 +01:00
Pierre-Hugues Husson
e59aa1bc35 Enable nightmode overlay by default 2018-05-01 23:38:34 +02:00
Pierre-Hugues Husson
e38b40749e Revert "Let's switch to ro.adb.secure=1"
This reverts commit aedc5ad289.
We still have too many devices to debug to do that
2018-03-19 20:28:33 +01:00
Pierre-Hugues Husson
aedc5ad289 Let's switch to ro.adb.secure=1 2018-02-20 21:27:36 +01:00
Pierre-Hugues Husson
8b6339387f Set ro.sys.sdcarfs to 0 for the moment. 8.0 sdcardfs has been seen kernel panicing on 8.1 on MTK and QC platforms 2018-02-16 23:08:01 +01:00
Pierre-Hugues Husson
1cbdf550d8 Initial commit 2017-12-17 17:46:37 +01:00