For some reason Xiaomi built audio HAL with "very very verbose logging"
enabled [1] and it spams really too much. Until Xiaomi builds audio HAL
with sane logging level or a way to resolve OSS audio HAL issues is
found, just shim the whole log function to return nothing.
[1] https://github.com/LineageOS/android_hardware_qcom_audio/blob/c659e83702/hal/audio_hw.c#L41
Co-authored-by: Jan Engelmohr <jan.engelmohr@mailbox.tu-dresden.de>
Change-Id: Iff278c44f203dc7b81bccb2281edfc3f5687a47c
On OSS audio HAL there are issues like echo in calls
and low volume. Users often complain about that so switch to
prebuilt one temporary (I hope so).
Change-Id: I985a9b2c3bdb39c17bc0f861913536c121e7eeae
* Stock one works with auxiliary cameras correctly.
This reverts commit 3f6eaf26960b8ca0a16ea574f9354cdf4a7710f3.
Change-Id: I776342df651af18b5ddd785aa5eb1231cd61638e
- ELF prebuilts were banned in PRODUCT_COPY_FILES starting May 11.
- Adding BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true to
BoardConfig.mk temoporarily.
- See b/156534160 for long-term fix which should override this change.
Test: Build
Bug: 156534160
Change-Id: I7d80798d3b2d3818bc835fcede21de2e7ab04735
Set debug.sf.latch_unsignaled=1 is used to allow surfaceflinger to
latch unsignal buffers that can give more time for buffer to render.
But if the buffer takes longer time to finish, it will block whole
display pipeline result to jank.
Bug: 157964883
Test: scrolling, launch
Change-Id: I56c3e05921de5fc9569bf3f93fde03022a64b6a4
* When it is enabled, if we have multiple SIM cards, the networks
settings UX will only show the first SIM card.
* Thanks to Telegram@CyberPhantom52 for the fix patch.
Signed-off-by: TH779 <i@779.moe>
Change-Id: I2690e6dcd69f8e0fe814ea3c92c85d7c6f894166
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.
Bug: 176197656
Test: adb shell dumpsys pinner
- shows that /system/bin/surfaceflinger is successfully pinned
adb logcat | grep PinnerService
- no longer shows a file-not-found error in PinnerService
Change-Id: I8ef5d556d6a1bff9793336259242f2b928ff18ff
Flags for VOIP were mixed up as we move to CAF policy configuration. Amend the flags to get things working again.
Co-authored-by: Ramii Ahmed <ramy@ahmedramy.com>
Change-Id: I2a2b202e2a58db9a26f571c091b1fa0b8f2949f6
* Reason for revert: camera HAL doesn't implement notifyDeviceStateChange.
This reverts commit 2ac59b869bed37bfaa480411ff98eed8991285f3.
Change-Id: I7919e0c0160a4108c9d066e914211cb4daa9c24b
* RenderScript is deprecated on newer platforms and
is being officially replaced.
* On April 19, 2021, Google announced that RenderScript
will be deprecated in Android 12, and recommended
porting existing code to Vulkan.
https://android-developers.googleblog.com/2021/04/android-gpu-compute-going-forward.html
Change-Id: I19460ef266a646b046f1e7d2f0b4eab7c48ae536
Dedicated output profile for VoIP should not be a direct output as
it prevents from playing two audio tracks simultaneously which breaks
call signalling played on top of Rx call audio.
Bug: 64392515
Test: Fi call, Duo Calls
Change-Id: I4e62ba3be3da079ff32be9b92d5d5fa28e0f5e2b
[dereference23: Apply the change to audio_io_policy.conf as well]
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
* Used by GCAM for DSP-accelerated HDR processing
* Arguably we should label /vendor/dsp/cdsp/fastrpc_shell_3 to
same_process_hal_file like Pixels, but the partition is prebuilt thus
we're unable to relabel it.
* Copy the file to writable tmpfs, setup attributes and bind mount back
to workaround the limitation.
[ghostrider-reborn]:
Allow adsp/cdsprpcd and neuralnetworks HAL to access fastrpc_shell_3
[kras edit:
1. rename some contexts as per qva/kona
2. extend to allow camera HAL and VPP service to access it as well]
[dereference23: Remove VPP policy because atoll doesn't use it]
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: Ide90e5c7307d413db5ece736e859559f06679545