Commit Graph

247 Commits

Author SHA1 Message Date
Pranav Vashi
fe37d02ca8 sweet: overlay: Reduce statusbar end paddings
Change-Id: I40b191d5490e6b9a00043be9a5a144e89e16c2c8
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
Pranav Vashi
e4e0de0800 sweet: powerhint: Remove non-existing node
Change-Id: Id4bbdce794e82957be81862ee87a57efca9a3327
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
yidongh
7bbcb62cf5 sweet: audio: Correct wrong settings in mixer path
Fix the BT SampleRate from '16000' to 'KHZ_16'
in "mmap-playback bt-sco-wb".

Fix the path name from "mmap-buffer-playback hdmi"
to "mmap-playback hdmi".

CRs-Fixed: 2278484
Change-Id: I44ae1d02cb214555967e3f1f42b0cd022e5c4bfe
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
Shalini Manjunatha
d335c73120 sweet: audio: Allocate dedicated pcm node for in call recording
Allocate dedicated pcm node for in call recording, this can
avoid conflicting with generic audio recording for concurrent
recording scenarios

Change-Id: If81aa994409161c526fbbcb95dbcb0397fa9e36b
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
afterallafk
e7ba83e68b sweet: Increase speaker volume
Change-Id: I97d6ddf3e25fd201cf946e7772ef8e6da11620e1
Signed-off-by: afterallafk <shivamatiet2001@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
Pranav Vashi
2b9c8f4411 sweet: audio: Rectify dmic stereo device name
Change-Id: I10fb1c7119a5d31aa7d4d10440e5bc283e20bbd7
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
Pranav Vashi
69802eb531 sweet: Define AAPT config
Change-Id: I53efa96939b0fa0cbba065ed79d964cac9c1ad07
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
kamleshhv
2b4dde9f59 sweet: Add min and peak refresh rate option
Signed-off-by: Hazama25 <hazamafawkes@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
raghavt20
64963bc7fd sweet: Set target display density to 410
Change-Id: I11cd2699e105148a8fd381ca8bc91840a53db66b
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hazama25 <hazamafawkes@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
basamaryan
7f69d7a1e3 sweet: overlay-lineage: Disable Pocket Lock
Change-Id: I28ecec5521e4301ed952d95bc8a8075395cc9393
Signed-off-by: Hazama25 <hazamafawkes@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
Adithya R
e4dff56da1 sweet: Define OEM fast charge sysfs node
* this forces android to display "charging rapidly" whenever our
   proprietary 33w charger is connected, based on the value of
   this node (0/1)

Change-Id: I2a36ccb62621672e480e4b25a335410044fbb372
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
Arian
8470421824 sweet: Bring back face detection libs
Change-Id: I50af944e9398eef352f72f4729999f8d0c556837
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
Pranav Vashi
1abafc36b9 sweet: Update libarcsoft_super_night_raw compatible with camera package
Change-Id: I489f181c609a2cdf45fd766bc1e0b0f5eec1cfc5
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
AdarshGrewal
bc72bc6b3a sweet: Include MiuiCamera if exists
Change-Id: Iee675b4924cb2be7ac2d36c7737b06edc9cadfc9
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
trpsl
67b834eae5 sweet: audio: add ACDB IDs for voice recording
Change-Id: I911491d186c85416ce6236ef5a253edc4badcc0b
Signed-off-by: trpsl <trpsl@pixelexperience.org>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
Georg Veichtlbauer
c8f0007ebc sweet: overlay: Update deprecated screen power items
* screen.on -> screen.on.display0
* screen.full -> screen.full.display0

AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a

Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
Pulkit077
ba5a5ac1b7 sweet: overlay: Fix typo in power_profile
Signed-off-by: Pulkit077 <pulkitagarwal2k1@gmail.com>
Change-Id: Ie99b26e9a352965291d7d984ac00db96860232af
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
Chris Fries
179a46c314 sweet: overlay: Fix typo "volatage"
In the before-times of June 2019, an intrepid AOSP reviewer named
"fbechet45@gmail.com" reported:

> typo error:
> line 311 : "volatage" should be written "voltage"

After a short series of hops, this bug landed in my todo list.

My first thought was, "Easy!  I'll fix this on my internal git,
Lets go, in-and-out, 20 minute adventure."  But, that would deny the
original reporter of seeing the solution for some large number of
months.

So, I decide "I will fix this in AOSP.  But, oh no, Coral has the
same copy-paste error!  Let me just wait until October 2019 when
Coral goes public, then I'll fix those two at the same time."

(Little did I know this would continue to get copied and pasted, and
now there are 20+ instances of this on our internal repository.)

Fast forward to 2020: The pandemic gripped our nation, and I was
busy baking bread and posting pictures of it on Facebook.  I have
some great recipes I can share.  Let me know if you need some of my
artisinal sourdough starter.

Now, in 2021, after multiple automated-and-human reminders, this
has become my #1 priority issue to solve.  I still have the "can't
fix all the errors" on AOSP problem, but if I don't fix crosshatch
now, it will be too late to land it into the 2021 dessert release,
which may be the last supported release for crosshatch.  Oh no!

I am determined not to mark this bug as "Won't Fix / Obsolete"
and yet not so determined to act on it quickly.  So, I will fix
crosshatch internally, and then fix the rest of the projects on our
internal master branch.

I hope this patch finds you well and remember to take care of
yourself in these tough times.

With regards,
Chris

Bug: 132925372
Bug: 135906639
Bug: 77804134
Change-Id: I2d088bcbdfbc758eed5054f0413ab02aa5e57e4c
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
jonerlin
7c74d44f5d sweet: overlay: Add bluetooth power data to power_profile
Bug: 195720809
Test: Manual
Change-Id: I8104c9cd7890ee7968a6e0cbb8f57007c9bd2b42
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
Pulkit077
2b5f634188 sweet: overlay: Update power profile from sunfish
- from device/google/sunfish@441168f
 - correct battery capacity and cpufreq for sweet
 - update Radio related values, gps.on value & wifi.batchedscan values
 - based on stock power profile
 - values taken from resource-overlay

Signed-off-by: Pulkit077 <pulkitagarwal2k1@gmail.com>
Change-Id: Ie393df152ead4ea50327315c57ce1d3a8b540da7
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:57 +00:00
90b6210b21 sweet: Infinity and beyond
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
2024-12-26 05:40:51 +00:00
basamaryan
963412927f sweet: Move to Xiaomi fingerprint AIDL
Change-Id: I68dba7184034fd37454c7d32a065f041cb611625
2024-12-26 02:43:45 +00:00
LuK1337
e02c93f123 sweet: Enable elfchecks for camera libs
Reference: I23190f0b83c9e28aa2624a7575544b0eaf5c83c8
Change-Id: I18b0b07bf3a435dd449106653e3ca458b4f07b69
2024-12-26 02:43:43 +00:00
basamaryan
6ee1b45e9c
sweet: Switch to py extract utils
Change-Id: If53e93faec4f455542c9eb46ece28d355e5910e4
2024-12-25 19:40:07 -05:00
LuK1337
8ffc9e22cd
sweet: Adjust override prop key names
Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38
2024-12-25 19:40:07 -05:00
basamaryan
1c166492b4
sweet: Run bpfix
Change-Id: Ife7b541d10e427999657195f266d40b303c09532
2024-12-25 19:39:09 -05:00
Ken Huang
d7334688bb
sweet: Set 120Hz frame rate multiple threshold
Bug: 215043570
Test: play 24fps video and check refresh rate
Change-Id: Ie638f9dcf11e25bdd903d6cde2d0eeb794668e52
2024-12-17 11:17:40 -05:00
basamaryan
ad2ed424b8
sweet: Commonize sepolicy
Change-Id: I8e62c0d704f2d5925b2eca13a3e5851542af8b04
2024-10-15 13:12:15 -04:00
Cosmin Tanislav
5a5ba77b13
sweet: do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2024-10-15 13:12:15 -04:00
Michael Bestas
55292fdbe8
sweet: Libraries are now automatically added to PRODUCT_PACKAGES
Change-Id: Ie92fe02b7e6279195bf28944942c815db773b798
2024-10-15 13:12:15 -04:00
Michael Bestas
932d0757c1
sweet: Disable ELF checks for certain libraries
Change-Id: I61dbc3559b43becc22f69ae2c1c3e8edf95e2483
2024-10-15 13:11:59 -04:00
basamaryan
c88784bfaf
sweet: Fix soname of renamed libraries
Change-Id: Icb0582c78e1ae5a27820abbd31372757e9f330b3
2024-10-02 21:03:48 -04:00
basamaryan
32c5b7144e
sweet: Add missing sensor library
Change-Id: If78f3844c60a6f8e04c051ede37905c74c3e8616
2024-10-02 21:02:55 -04:00
basamaryan
414b39b32e
sweet: Add missing camera libraries
Change-Id: I3de503b484f39f7605923206bb7ab48d2bb7ac04
2024-10-02 21:02:29 -04:00
Sebastiano Barezzi
9a31e9b312
sweet: Move to Xiaomi IR AIDL
Change-Id: I46094bcbfaba252b5d98ea8211b927fdaa079e2d
2024-09-11 03:36:20 -04:00
Michael Bestas
22565f9636
sweet: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-11 03:35:56 -04:00
SGCMarkus
524eba7d4a
sweet: unset BOARD_USERDATAIMAGE_PARTITION_SIZE
This not only saves a lot of build time when building with
TARGET_USERIMAGES_SPARSE_EXT_DISABLED and/or
TARGET_USERIMAGES_SPARSE_F2FS_DISABLED which is required
on A14, but also removes the need for the build system to
temporarily create a 40+GB userdata image.
Which means that less free space is required to start the
build.

Change-Id: Ibf48e7cdf566a4653e85352a79170b354d917234
2024-08-26 09:29:09 -04:00
Alexander Winkowski
b1fe4619c8
sweet: Align NFC permissions with stock ROM
Change-Id: Ie006c9a8f5135acdfda5181e6fa833c91e403576
2024-08-20 12:15:47 +00:00
SamarV-121
011577f815
sweet: overlay-lineage: Remove config_fingerprintSensorLocation
* No longer exists

Change-Id: Ic964ce75f136661b320561c398c19430c0d85aea
2024-08-12 13:23:58 +05:30
Michael Bestas
3cc315f98a
sweet: Drop COMMON_LUNCH_CHOICES
As of 14 QPR2 this is broken, let's remove it instead of updating it
every 3 months. breakfast is the way to go.

Change-Id: I097bd54b894d9a49c7ce8b1ab6f343349e268fd8
2024-06-22 19:07:37 +05:30
Edwin Moquete
b852fd9530
sweet: Set double_tap mode via powerhint
Change-Id: Icd035962d289996feb76ddeaf02bf1843bd9d64a
2024-06-22 19:07:37 +05:30
Sebastiano Barezzi
c26b57ac9f
sweet: Drop selinux context from batterysecret init unit
We do that from sepolicy label

Change-Id: I0aa6778bca6c6175eb41364d4932a1ee868f7b21
2024-06-22 19:07:37 +05:30
Sebastiano Barezzi
e30e8e580f
sweet: Drop selinux context from mi_thermald init unit
We do that from sepolicy label

Change-Id: I56fb68b8121a68927cb98e494263f092732bd8ed
2024-06-22 19:07:37 +05:30
LuK1337
36ac0b73ea
sweet: Prevent adding same dependency twice in blob_fixup
Change-Id: Idedeb51e027a09f64a29ac67a3a2f2a0594213f6
2024-06-22 19:07:37 +05:30
basamaryan
874f6c1753
sweet: Import fortsense hwmodule and sunwave dependency
Change-Id: I2fe798d618a37153c44fb4390f2641bcc5f50ce3
2024-06-22 19:07:37 +05:30
basamaryan
781db9b734
sweet: overlay: Reduce the padding at the start of the status bar
Change-Id: Ic84ec4f0e070e62d4d76680844ad60eb04c40593
2024-05-24 12:36:21 +05:30
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
0b58ad8f0a
sweet: Fix vendor.voice.path.for.pcm.voip value
Stock ROM overrides it in product partition

Change-Id: I796044761d4a0a9d102f6b6d89c8e81bbb997665
2024-03-28 13:03:23 -04:00
Alexander Winkowski
8dc0f6afdb
sweet: Copy NFC firmware to the correct location
Change-Id: Iec38a874eab350de03ac18df5bc1a00a686fb569
2024-03-28 13:03:23 -04:00