* ui::Size was changed going from VNDK32 to VNDK33 [1] and
ui::Size::INVALID constant was removed. However, all we need
to do is set INVALID to a Size with a width/height of -1.
[1]: 6d043c5c5c
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I4a224c6c3f622152a8bdc9f70bca18263af068cd
* We can no longer use the MediaTek boot control implementation
due to legal issues. Switch to the AOSP one.
Change-Id: I1d983fd7148ca40a00c3cf21b6773d2c5ecb78f4
Signed-off-by: bengris32 <bengris32@protonmail.ch>
* This is already covered by GMS but in order to account
for non-GMS builds we should place some duplicates here.
Change-Id: I2d0f504106cd4784669a60b514c027fb6974c816
* MtkFMRadio is no longer needed, original one was updated for Mediatek support
* Also add Mediatek FM flag for our prebuilt jni
Change-Id: I4e0ebd7352ad04e97ce65d3aec5a1b9d030fb3c3
* It seems even after adding a dummy libmtkperf_client library,
camera still refuses to work, it seems MediaTek have used a
mix of that client library, and direct HIDL calls to the power
implementation. Build a stub mtkpower service to get around
this limitation.
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I72753bc979f8a8fb2877abee89753c6f2f4ab267
* Required for some vendor blobs that refuse to
work without mtkpower
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: If519965f662988f15ea70f4390f8bed645af22e5
* We still have to keep some vendor interfaces and libs
since some HALs have dependencies on them.
* Also switch to stub AIDL power service until we can get
libperfmgr properly implemented.
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I25022ceb2dd5d0541203663b005bfc15d2385435
The older VNDK 30 blob when linked against the newer default bluetooth
HW module, had a missing symbol:
`_ZN7android9bluetooth5audio25BluetoothAudioSession_2_132invalidOffloadAudioConfigurationE`
Since we build default bluetooth HW module from source, build
libbluetooth_audio_session from source as well.
Fixes: Bluetooth Audio on Android 12
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Change-Id: I13c09ecc37f709c575103d108acf5ca1b5aa2553
* My attempt at fixing in call gain control on MediaTek devices.
* It attempts to replicate what the stock MediaTek framework does
when controlling the volume of the earpiece speaker, since MTK's
audio HAL is not able to set the gain of the speaker from the
values sent by AOSP framework.
[LinkBoi00] Rebrand to Mediatek In-Call Service
Change-Id: I43f727f6fb73a0d38457a41a8361653d1d00e220
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com>
Those keys will be embedded into VtsSecurityAvb on host side
instead, to verify the GSI image used on the device.
Bug: 149806769
Test: build and checks those keys are removed from
/recovery/root/first_stage_ramdisk/avb/
Change-Id: I8a002ba6f1421fb460056ccae6572050bdb0ce3c
* _ZN7android8hardware7details17gBnConstructorMapE and _ZN7android8hardware7details17gBsConstructorMapE have been removed on Android 13
Signed-off-by: Lucchetto <lucchetto.tie@live.com>