Commit Graph

58 Commits

Author SHA1 Message Date
Pranav Vashi
d628da352e sweet: Define AAPT config
Change-Id: I53efa96939b0fa0cbba065ed79d964cac9c1ad07
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-19 15:37:25 +08:00
madmax7896
85f4dcb00f sweet: Import Dolby audio blobs
Squashed with:
commit 0a7aab81667f137c57fa95c4661fa7e43e0e2c1c
Author: Pranav Vashi <neobuddy89@gmail.com>
Date:   Fri Aug 2 20:27:52 2024 +0530

    sweet: Move dax-default to device tree

    Change-Id: Id2054bb5e61bcfe58706e32f44d37fe7524aa912
    Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>

Change-Id: I2d466238525d074269377a82627a816527aefd74
Signed-off-by: Mesquita <mesquita@aospa.co>
Signed-off-by: basamaryan <basam.aryan@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:02:45 +08:00
basamaryan
38443b129c sweet: Build XiaomiDolby
Change-Id: I31ff2c27a479423951c8a645bf1cd65dc6ad6f81
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:02:45 +08:00
basamaryan
7ff4ecb533 sweet: Enable TARGET_USES_DOLBY
Change-Id: I33d799f4a9f3b8fe05dbfcfa3d623049da187f00
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:02:45 +08:00
AdarshGrewal
7c77335f9f sweet: Include MiuiCamera if exists
Change-Id: Iee675b4924cb2be7ac2d36c7737b06edc9cadfc9
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:02:45 +08:00
Cosmin Tanislav
40647aac04 sweet: do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:02:45 +08:00
Sebastiano Barezzi
4a3a997366 sweet: Move to Xiaomi IR AIDL
Change-Id: I46094bcbfaba252b5d98ea8211b927fdaa079e2d
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-11-12 14:02:45 +08:00
Alexander Winkowski
b1fe4619c8
sweet: Align NFC permissions with stock ROM
Change-Id: Ie006c9a8f5135acdfda5181e6fa833c91e403576
2024-08-20 12:15:47 +00:00
basamaryan
609c47d584
sweet: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
2024-03-29 00:46:59 -04:00
Devin Moore
1f5d18c853
sweet: Switch to new AIDL IR service
Test: atest VtsHalIrTargetTest hal_implementation_test
Bug: 205000342
Change-Id: I70c54aa8e8962939cc8f4b42fbbe828e9dad7f0d
Signed-off-by: basamaryan <basam.aryan@gmail.com>
2024-03-29 00:46:53 -04:00
Alexander Winkowski
12ef45d42e
sweet: Move NFC configs to vendor
Change-Id: Id6dc9052673afd4ca6f32af154cb8c7a50ccf479
2024-03-28 13:03:23 -04:00
LuK1337
6ed4c96703
sweet: Build AIDL NXP NFC HAL
Change-Id: I6ace3ac149c84d2cb9e2773e7ef5ddbf24c35b92
2024-03-28 13:03:22 -04:00
danielml
601fddecdf
sweet: Get rid of libinit
* Use the `import` function of build.prop files to override the
  model-specific properties based on the ro.boot.hwc and product SKU
  values, both set by the bootloader

* Set a custom product property source order, so that the ODM
  and vendor properties have preference over the other sources

* Switch to vendor SKU for enabling NFC exclusively on variants that
  support it, as the product SKU is set by the bootloader

* Create a symlink from /vendor/etc/audio/sku_sweet to /vendor/etc, as
  the audio HAL takes the former as directory for audio configs
  if SKU is set to `sweet`

Change-Id: I312a059e0cbcbad6aa052bd32142b70dcf0a7adc
Signed-off-by: danielml <daniel@danielml.dev>
2024-03-28 13:03:10 -04:00
LuK1337
b4eec28a20
sweet: Redo libsdmcore shim
Instead of injecting custom dependency into libsdmcore.so, provide a
custom hwcomposer implementation that overrides the *unwanted* symbol
before loading the vendor implementation.

Change-Id: Icc6551f9260a0eb8a7f7a616588c65472a9366e9
2024-02-13 13:51:34 -05:00
danielml
d0c51f6735
sweet: Remove redundant libqti-perfd-client from PRODUCT_PACKAGES
* libqti-perfd-client is built by sm6150.mk

Change-Id: Icb913e03061b94f9ace1313a2e43e8a571784fd1
Signed-off-by: danielml <daniel@danielml.dev>
2024-02-13 13:51:33 -05:00
Georg Veichtlbauer
b142b5dd7f
sweet: Remove unneeded NFC packages
* NfcNci and SecureElement are built by handheld_system.mk

Change-Id: I83f686b67778634b584a58d8bae95d237e6dbad1
2023-07-08 00:05:12 +05:30
basamaryan
10425ed914
Revert "sweet: overlay refresh rate strings"
This reverts commit 9b93de2d49.

Change-Id: I8c12cae0b0ef72b08ffee1f47876e35784dd3a79
2023-07-08 00:05:10 +05:30
Alexander Koskovich
d7dada299e
sweet: Drop PRODUCT_BUILD_SUPER_PARTITION
* Super image is not generated by a default 'm' build,
   but we at least want it for dist builds.

Change-Id: Ia12a5314632509fcd309d51ddf757efdc37499c3
2023-06-19 22:19:53 +05:30
basamaryan
054bb18429
sweet: Commonize PRODUCT_USE_DYNAMIC_PARTITIONS
Change-Id: I4f55c0e321617f222cf2df5d2ae5585703d99848
2023-06-19 22:19:53 +05:30
Arian
cd5df20cdd
sweet: Commonize fstab
Change-Id: I99d91293aca9af3592ef41436d2334357b418226
2023-06-04 22:14:34 +05:30
basamaryan
47c1ebd7f1
sweet: Commonize fastbootd
Change-Id: I43d9521431b36b84776139d71c2dbf26c430c0fd
2023-06-04 22:14:29 +05:30
basamaryan
885a5d01ae Revert "sweet: Add headphone button jack keylayout"
This reverts commit 3c26bea583.

Reason for revert: Fixed in I8ecc1609d929ac5a8d4d73711b15b4a741d910a3
2023-06-04 12:23:23 +02:00
daniml3
7e5fc2e8b2
sweet: Use GetPreviewImageData shim for com.qti.node.watermark
Signed-off-by: daniml3 <daniel@danielml.dev>
Change-Id: I92e51fdf1dc7d877c7affafbf9803ba5d504be07
2023-05-19 01:23:30 +05:30
Bowgo Tsai
ace9bd248d
sweet: Removing gsi_keys.mk
It's no longer required to install the compliance GSI
public keys into the ramdisk. Those public keys just need
to be included in the VTS test suite for GSI verification.

Bug: 176869478
Test: TreeHugger
Change-Id: I26c4a1c7dba28a3c8cf88af64d8539fdc23a4f28
2023-05-19 01:23:30 +05:30
AdarshGrewal
3c26bea583
sweet: Add headphone button jack keylayout
Change-Id: I5a0af62b6cee9d36b282894117d0ba56d8ae063c
2023-05-19 01:23:29 +05:30
basamaryan
5834ea1df6
sweet: configs: Import 0b qdcm display calibration from MIUI V13.0.10.0.SKFEUXM
* Fix NumModes in qdcm profiles
* Remove video modes
* Default to smart_MC

Change-Id: Id6a3691418604f1ef0af714613ab5581f358c129
2023-05-19 01:23:29 +05:30
Bruno Martins
3aaf3c4a1a
sweet: Move to common fingerprint HIDL
Change-Id: I7cb0a45c865d9dbfd800b1d633f8d5ae613bb1b9
2023-05-19 01:23:29 +05:30
Arian
7eea3ff318
sweet: Add consumerir support
Change-Id: Ic21699e059f92a7dbf883ef2359c5fcbdd40aeb7
2022-05-01 00:16:10 -04:00
AdarshGrewal
4331942be1 sweet: Drop CutoutRingService 2022-04-13 11:38:43 -04:00
AdarshGrewal
9b93de2d49 sweet: overlay refresh rate strings
* to display 120 Hz instead of 90 Hz
2022-04-13 11:38:43 -04:00
daniml3
d934151ef3 sweet: override the SetRefreshRate HWC builtin display function
* This function causes the refresh rate to change randomly, and
  produces flickering on the display

* Override the original function by renaming the symbol so linker
  uses the symbol from the shim instead of the original library's
  symbol

Signed-off-by: daniml3 <daniel@danielml.dev>
Change-Id: I2fa6b3f834df79c32d22f5a057da2108cc9cacab
2022-04-13 11:38:43 -04:00
AdarshGrewal
f68d58f9b5 sweet: fingerprint: Uprev to 2.3 HAL 2022-03-24 20:51:30 +05:30
Andrew Hexen
db8b7aa1f5 sweet: Move NFC permissions to ODM
* Ensures that NFC is enabled only on global variant.

Change-Id: I25444aae6644ca391d79282c1c5d588617483ee6
2022-03-24 20:51:30 +05:30
Erfan Abdi
e307f22c28 sweet: Disable NFC for indian devices
* Setup sweet sku when device is global.
* Move the nfc manifest entry to sweet hardware sku
  variant.

Change-Id: I76ac75cd80f85efa6dfa68753602d934a11000a3
Signed-off-by: Arian <arian.kulmer@web.de>
2022-03-24 20:51:30 +05:30
Arian
21182afde7 sweet: Add NFC support
Change-Id: Ibdb149d6152e01382ed44302ca0ee28b56b5a53e
2022-03-24 20:51:30 +05:30
AdarshGrewal
b5108bd343 sweet: build common biometrics service 2022-03-24 20:50:00 +05:30
Alessandro Astone
b5f6d68042 sweet: Build fastbootd
Change-Id: I0b20600fe7203a7aec19cbea8f6849052585c6ab
2022-03-24 20:50:00 +05:30
Luca Stefani
f238afe71e sweet: overlay-lineage: Specify device has a notch
Change-Id: Ib912728020f85c820b10d5102365dc37f9a54342
2022-03-24 20:50:00 +05:30
AdarshGrewal
5eac8a1e4b sweet: add RROs for setting correct device name and hotspot ssid
Check device variant by using ro.boot.hwc and
ro.boot.proudct.hardware.sku, and set the correct model based on
value of ro.product.marketname on stock ROM
2022-03-24 20:50:00 +05:30
Roshan Pius
9f7837ef6f sweet: Add SweetWifiOverlay
Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
2022-03-24 20:50:00 +05:30
daniml3
0fa352aec3 sweet: show a ring on the camera cutout when its in use
* For avoiding halo effect on low light conditions

* Achieve this by creating a custom ImageView that its shown when the
  camera is in use

Signed-off-by: daniml3 <danimoral1001@gmail.com>
Change-Id: Iedca0f0d4b304b020daf0ebec74e245581824c98
2022-03-24 20:50:00 +05:30
adarshgrewal
c7b9e112e1 sweet: import stock qdcm profile 2022-03-24 20:50:00 +05:30
Lucchetto
09782fa380 sweet: Create dummy libqti-perfd-client
* proprietary perfd blobs can finally be nuked without breaking goodix
* we could even map the functions to use libperfmgr powerhints in the future

Change-Id: I124652f3041761966a3e3bd97c757fecc39cc5fb
2022-03-24 20:50:00 +05:30
AdarshGrewal
850f212a3a sweet: Build vndservicemanager 2022-03-24 20:50:00 +05:30
Arian
99d8f03186 sweet: power: Import powerhint configuration from Pixel 4A
powerhint.json is checked out to https://android.googlesource.com/device/google/sunfish/+/refs/tags/android-11.0.0_r38/powerhint.json.

Change-Id: Ib576cea82363865cefd5e5fa2e7c746c0b95c3a8
2021-07-12 16:58:47 +05:30
AdarshGrewal
14cb9ceb69 sweet: Import audio configs from MIUI V12.5.4.0.RKFMIXM 2021-07-12 16:33:36 +05:30
raghavt20
6122b67040 sweet: Build 1.0 sensors service
* It was decommonized because some devices require 2.0 sensors service

Change-Id: Ieb0d5dc846d3cd0ee35487a31779b7b182f1a4fc
2021-07-12 16:33:24 +05:30
Arian
5c82ac57ee sweet: Add prebuilt audio HAL
Change-Id: I889bf86fab97e704c33d0ce0c9f831a99ad33925
2021-07-12 16:28:16 +05:30
AbhiShek Aggarwal
4d23c197b2 sweet: overlay: Import brightness overlays from MIUI
Change-Id: Ib00b3817eece7bb8ff0acafb3d545e4324d7c26d
2021-07-12 16:28:16 +05:30
Arian
b0dadb8019 sweet: Configure partitions
Change-Id: I802acf41be02788cb14646fbcfc2e9bbdb1f99f9
2021-07-12 16:28:16 +05:30