Commit Graph

854 Commits

Author SHA1 Message Date
Paul Keith
4560af5d2f sm6150-common: livedisplay: Fix racy init
* It turns out moving this to class main doesn't work as well
  as some had thought it would, so restore the previous logic
  to use class hal, and restart if the backend isn't up yet

Change-Id: Ib8b417d89108dcf80d0d159e8d84e5327944b2a1
2023-01-27 01:32:59 +00:00
Edwin Moquete
5c5679a04e sm6150-common: properties: Remove unused persist.bluetooth.a2dp_offload.cap property
This prop has no effect as of T QPR1.

See: cf25e33147

Change-Id: Ic762812dd59429d344ccc55c01bf96b0ffd6dbab
2023-01-27 01:32:59 +00:00
basamaryan
598ab2e3be sm6150-common: audio: Drop 24 and 32 bit recording support
* This unfortunately causes some applications from Meta
  to record low volume audio in calls and voice messages.

Change-Id: I7e9ea6faa2ddbb5cf5f44bbf5060b41edd7bf1e9
2023-01-27 01:32:59 +00:00
Paras Nagda
f24c8337d7 sm6150-common: media: Fix VTS issue.
Arrange the tag limit and feature in-order.

Change-Id: If8b9e10e56c36e995cbc3f438b4fa113e1cbe806
2023-01-27 01:32:59 +00:00
Malathi Gottam
49549d6cf9 sm6150-common: media: Add swap width and height feature
In case any codec of target supports width & height swap,
then this feature needs to be advertised in media_codecs xml
otherwise newly added strict dimension checks in framework
fail hw codec instantiation considering codec cannot handle
format leading to sw fallback despite codec capability.

Change-Id: Ief2c9d6dc4ee05a6798a58a0427b75e8c0a2dedb
2023-01-27 01:32:59 +00:00
Pullakavi Srinivas
4e3767b961 sm6150-common: hwc: Disable SF composition prediction model.
CRs-Fixed: 3243885
Change-Id: I64f82a25768b561bb343fdb7686b7d6c020d024a
2023-01-27 01:32:59 +00:00
Giovanni Ricca
d172ae494c sm6150-common: gps: Revert PROXY_APP_PACKAGE_NAME OEM change
Change-Id: Ia13ce8d80233a493aa90723a1e974871ddce641b
2023-01-27 01:32:59 +00:00
basamaryan
4c664b8c7e sm6150-common: gps: Update to LA.UM.9.1.r1-13000-SMxxx0.QSSI13.0
Change-Id: I51776c7c5db4e72c58f6dab73e8692a549ec37e8
2023-01-27 01:32:59 +00:00
Tyler Wear
92fe0b3663 sm6150-common: IFactory 2.3
Up IFactory version to 2.3.

Change-Id: I558f96edbf2ecb94d3e0c5126f2c55c3534e4a96
2023-01-27 01:32:59 +00:00
pramod kotreshappa
22d38c36d2 sm6150-common: Bluetooth: Bluetooth Audio HIDL up-rev to 2.1
Change-Id: I396d2a28b8146a7c2018c15fa77452f7011fbac8
2023-01-27 01:32:59 +00:00
pengfeix
b319e820d5 sm6150-common: Uprev ImsRadio version to 1.7
Change-Id: I03f24fd9eac8995ad565218b342503ef7bf3129e
CRs-Fixed: 2855616
2023-01-27 01:32:59 +00:00
Avinash Nalluri
6dd0fc1ad4 sm6150-common: manifest: Update IQtiRadio with v2.6
Change-Id: I37d462028a7a82925b12b0e9f8a16a395a629fa2
CRs-Fixed: 2854788
2023-01-27 01:32:59 +00:00
qiongz
32f927e941 sm6150-common: Uprev QtiRadio version to 2.5
Uprev QtiRadio version to 2.5.

Change-Id: Icd74a9a895ad18ce2cb2c42caf4b746faf05a92c
CRs-Fixed: 2795130
2023-01-27 01:32:59 +00:00
Gary Jian
69285c102b sm6150-common: Upgrade IRadio version to 1.5
Bug: 147070523
Bug: 154066681
Test: manually
Change-Id: I765a0822dabf206391d19037f971a46281758b3f
2023-01-27 01:32:59 +00:00
basamaryan
ad2e46eb0a sm6150-common: Update blobs from sweet V13.0.15.0.SKFMIXM
Change-Id: Icfb3cc584691ed497332f58efbb380f83f22a1ba
2023-01-27 01:32:59 +00:00
Michael Bestas
625fda0bd1 sm6150-common: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2023-01-27 01:32:59 +00:00
Arian
166966e54b sm6150-common: Add system prefix to proprietary libraries in /system
Change-Id: I9ac038d474d5cbe1f7eb5128d6ea8eea3a82f318
2023-01-27 01:32:59 +00:00
Alexander Koskovich
aee39d4741 sm6150-common: Move ueventd.qcom.rc to /vendor/etc.
* This is the preferred location as of Android 12.

Change-Id: I8c7d2230281b6d8da802bf10f88461289849acaf
2023-01-27 01:32:59 +00:00
Alexander Koskovich
185b3de9b3 sm6150-common: Update telephony package list to LA.QSSI.12.0.r1-05600-qssi.0
Change-Id: Id6fdabd9d5e0df6d23a982e0e39e06a8acff67ef
2023-01-27 01:32:59 +00:00
Hridya Valsaraju
b15c927d19 sm6150-common: Set PRODUCT_SET_DEBUGFS_RESTRICTIONS
Starting with Android R launched devices, debugfs cannot be mounted in
production builds. In order to avoid accidental debugfs dependencies
from creeping in during development with userdebug/eng builds, the
build flag PRODUCT_SET_DEBUGFS_RESTRICTIONS can be set by vendors to
enforce additional debugfs restrictions for userdebug/eng builds. The
same flag will be used to enable sepolicy neveallow statements to
prevent new permissions added for debugfs access.

Test: build, boot
Bug: 184381659
Change-Id: I45e6f20c886d467a215c9466f3a09965ff897d7e
2023-01-27 01:32:59 +00:00
Nate Jiang
3f12bf92c3 sm6150-common: WifiOverlay: Enable set channel on NDP setup
Bug: 190354626
Test: build, CtsVerifier
Change-Id: Ieff18b96ec0f24c1c20c40add4e47a532ece8922
2023-01-27 01:32:59 +00:00
Les Lee
7ba8556969 sm6150-common: WifiOverlay: Configure correct overlay configuration.
ag/16564596 will change default value to false.
Configure correct overlay configuration.

Bug: 212488775
Test: manual test & build
Change-Id: Iaf1a0a23dae69fde5995e591a757a8ef5374d5b5
2023-01-27 01:32:59 +00:00
Robert Shih
552cdd17f1 sm6150-common: Enable AIDL DRM HALs
Bug: 219538389
Test: atest GtsMediaTestCases
Change-Id: Iaf321aabf7f0ef3d86c518982781d95c4a648506
2023-01-27 01:32:59 +00:00
basamaryan
ec6b1f72bb sm6150-common: Build DRM 1.4 to vendor
Change-Id: I1b642a1b0bc032f1e7f174bd072a485a20533fba
2023-01-27 01:32:59 +00:00
Woody Lin
fb622cd0e8 sm6150-common: Enable zygote critical window
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2023-01-27 01:32:59 +00:00
Santiago Seifert
f6190cfd7d sm6150-common: Unpin updatable-media from memory
Bug: 214499288
Change-Id: I4823afa45553b9484ad5215d081b0e6635c4b183
Test: Presubmit
2023-01-27 01:32:59 +00:00
Nolen Johnson
4a838e1a9b sm6150-common: AOSP WFD doesn't support protected Wi-Fi Display buffers
Change-Id: I971373b5c57b8591b1bf676849cc511f8a425023
2023-01-27 01:32:59 +00:00
Michael Bestas
f36bb4282b sm6150-common: Move qti_whitelist.xml to /system_ext
Change-Id: Id8617513cfd686b3f6888a89c1b1db196acfb476
2023-01-27 01:32:59 +00:00
Bruno Martins
c86cfcb00b sm6150-common: Deduplicate handheld_core_hardware.xml copy rule
Since Android 10 that this is already done while inheriting from
full_base_telephony.mk.

Change-Id: If533fbf95a9cf9798ddba24955a624d26f550d62
2023-01-27 01:32:59 +00:00
Georg Veichtlbauer
20f459e6e5 sm6150-common: Drop config_setColorTransformAccelerated
It's now enabled by default

Change-Id: I57f059c872fc2ad2fd15e788b1391eeebaff9bde
2023-01-27 01:32:59 +00:00
Bruno Martins
53b6eec2be sm6150-common: Drop component overrides
This is no longer needed as of Android 13.

Change-Id: I38435c47c8781678f82014decbbae40dcab0a07b
2023-01-27 01:32:59 +00:00
Alexander Koskovich
8f17177db9 sm6150-common: Move Bluetooth power overlays to sysprops
* These were moved to sysprops in Android 13.

   976d33062b%5E%21/#F0

Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5
2023-01-27 01:32:59 +00:00
Bruno Martins
6af6f875ca sm6150-common: overlay: Remove BT related configs
These have been migrated to sysprops in Android 13.

Change-Id: I34c1f6b882a61df6db95523997002512354d875e
2023-01-27 01:32:59 +00:00
Alexander Koskovich
2773427200 sm6150-common: Move BT profiles props to vendor
* Makes it GSI compatible

Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2023-01-27 01:32:42 +00:00
Sebastiano Barezzi
442e1a5049 sm6150-common: Remove USE_XML_AUDIO_POLICY_CONF
* Dead since Q, where XML audio policies weren't enforced yet

Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2023-01-17 07:02:03 +00:00
Georg Veichtlbauer
386a6ca5ff sm6150-common: Remove AUDIO_FEATURE_ENABLED_PROXY_DEVICE
No-op, configurable during runtime

Change-Id: Ic54209df613570b15fee29c5b4c4053d38028b9b
2023-01-17 07:02:03 +00:00
Bruno Martins
a78d6fb707 sm6150-common: Drop custom APM flag along with no-op audio flags
Custom audio policy manager is hard disabled by CAF
for 2 years now. Remove as well the audio feature flags
that were used to configure it.

Change-Id: Idd34d1cbbdb735d6cf0de3b159c2670bf7ddd1e3
2023-01-17 07:02:03 +00:00
Noonlord
b670e7124d sm6150-common: rootdir: Setup file permissions for fpc
* These are used by courbet/surya/sweet

Change-Id: I605f305ab30fdbc3dd0a3afc6375cd039e5e8117
2023-01-17 07:01:07 +00:00
basamaryan
88e2493867 fixup! sm6150-common: Welcome Redmi Note 10 Pro
Change-Id: I84486f287783041157533d8e35e0d585536bd573
2023-01-17 06:10:54 +00:00
Noonlord
ce1fd1dd7e sm6150-common: Welcome Mi 11 Lite 4G - courbet!
Change-Id: I3f5e0bee2e1e56dec04f97ae043a0de99897884b
2023-01-17 06:10:54 +00:00
Bruno Martins
713a5a4806 sm6150-common: parts: Fix compilation for QPR1 merge
Change-Id: Ifa602ed1ae0734dbda40663770f2e54075bfa208
2022-12-08 22:23:32 +01:00
Arian
e194684060 sm6150-common: Move to legacy-um qcom sepolicy
Change-Id: I9fa72d7c2313c663490c506780ff4c66ad8037a5
2022-11-15 11:20:37 +01:00
LuK1337
9ef008f3d7 sm6150-common: overlay: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2022-11-15 11:20:37 +01:00
LuK1337
29e221cac6 sm6150-common: Migrate vendor.camera.aux.packagelist to sdk overlay
Change-Id: Iee884cc98b5fada492b27e8085de98ae08406cf4
2022-11-15 11:20:37 +01:00
Arian
5104523fa7 sm6150-common: udfps: Set fod status based on vendor acquired and cancel
Change-Id: I3477fb7a921555564121e10fc0d710e122dd9d73
2022-11-15 11:20:37 +01:00
Bruno Martins
bb8d9f4905 sm6150-common: sepolicy: Label UDFPS state node
Change-Id: I7a4ca9a3e98e0af90be5aedc88fa1eaa344abb76
2022-11-15 11:20:32 +01:00
Michael Bestas
4e8f1f1f87 sm6150-common: Remove bdroid_buildcfg.h
As of I3c7aed1bdb45db728d319f7d757400e44d232283 the Bluetooth stack
defaults to reasonable defaults that should work for all devices.

Change-Id: I056d63c4c8a2727e384172e964dc0000b6773504
2022-11-14 22:23:43 +01:00
Nolen Johnson
ac80e30dea Revert "sm6150-common: Use LLVM binutils and LLVM integrated assembler"
This reverts commit 816cf6a1cd.

Reason: This is now default globally.
Change-Id: I4cd4c8af67b8463950045d3887752985b3decc61
2022-11-14 22:23:43 +01:00
Arian
543d7ac0ef Revert "sm6150-common: Decommonize cnss-daemon"
Since updating QMI blobs from sweet Android 12 the cnss-daemon
from Android 11 (on devices with no stock Android 12) fails to
get the correct MAC address. Commonize cnss-daemon to fix the
mismatch. Xiaomis cnss-daemon loads device specific custom
bdwlan firmware and fortunately the one from sweet seems to
support all in-house xiaomi sm6150 devices. However it does
not contain the firmware names for longcheer devices (surya).
But since these devices also need an updated cnss-daemon, they
are suggested to apply a patch like this: [1] to mount their
firmware with the default name (bdwlan.bin) in order to not
loose the tuning with sweet cnss-daemon.

This commit also makes cnss-daemon a module, which it wasn't
before the removal.

[1]: 3595347298

This reverts commit 605de37605.

Change-Id: I17d7aa0cf141fc153a12ff3334178ea3e7091873
2022-11-14 22:23:40 +01:00
Arian
3f2881cb07 sm6150-common: Move to common libpiex_shim
Change-Id: I5266fe4b7cfd108c19b493bc2941097777b29f0a
2022-11-14 22:23:25 +01:00