Commit Graph

99 Commits

Author SHA1 Message Date
Pranav Vashi
f4393ca61c avicii: Decouple auto-suspend and interactive state from display
* Maximizes power saving.

Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-14 23:42:57 +05:30
Pranav Vashi
db0a6da2d5 avicii: Enable ambient display notifications by default
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-14 23:42:46 +05:30
chandu078
039c1043f0 avicii: Enable Alert Slider UI
* Values for avicii

Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-14 23:41:41 +05:30
Jesse Chan
384ee62a2a avicii: overlay: Configure SQLite to operate in MEMORY mode
This change yields considerable SQLite performance gains. It
should be generally safe as this device has irremovable battery.

Some OEMs have been doing this for years.

Change-Id: I541709fc771d4b501b56b8555e5e8a04486d0293
2023-03-09 16:59:50 +05:30
KakatkarAkshay
00a95d01bb avicii: Sync CarrierConfig with AC2003_11_F.18
Change-Id: If09c1190b4c75a8ab7723893b413920308ef5499
2023-03-09 16:33:03 +05:30
Jake Weinstein
2cf0bf967a avicii: overlay: Only allow 5G SA on Jio
Change-Id: I42a9d602abdd8fc0835e5c6444a54946fc5561d3
2023-03-09 16:33:03 +05:30
LuK1337
0fa8d288e7 avicii: Set a default Settings.Global.DEVICE_NAME
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2023-03-09 16:33:03 +05:30
KakatkarAkshay
b293e81f90 avicii: Set physical power button location
Change-Id: I73d96a78fdc0cef03024803fb4e6ef43723b1888
2023-03-09 16:33:03 +05:30
KakatkarAkshay
20bc310264 avicii: Setup UDFPS Overlays
Change-Id: Ib6ea56ce892ce7932c80f56d553c2c862edb1eec
2023-03-09 16:33:03 +05:30
KakatkarAkshay
161e54b18f avicii: Import Status Bar related overlays from AC2003_11_F.17
Change-Id: Ib5c11ad1e900f9b566c3067ef03ed08af90f453a
2023-03-09 16:33:03 +05:30
KakatkarAkshay
74b2bf1204 avicii: Import power_profile from AC2003_11_F.17
Change-Id: I61191addbfb2c14115cd4c4681d4b1d4a5261436
2023-03-09 16:33:03 +05:30
KakatkarAkshay
33192f7ef7 avicii: Set rounded corner overlays
Change-Id: I11baf8b76d45152a32a4da86db2a82baac4111ce
2023-03-09 16:33:03 +05:30
KakatkarAkshay
30305c0db9 avicii: Set Status bar height as per stock
* Taken from AC2003_11_F.17

Change-Id: Ia0b44367d4e3153928ba030f8d5fad8fb29627dd
2023-03-09 16:33:03 +05:30
KakatkarAkshay
42b4f49f1a avicii: Set Refresh Rate to 90 Hz
Change-Id: I64ff6849862b52b08ed89972c44cf93b2a6c0700
2023-03-09 16:33:03 +05:30
KakatkarAkshay
0ab82f4f79 avicii: Import camera cutout overlay from AC2003_11_F.17
Change-Id: Ib2e5b59940838d911c751002c23e91892818acff
2023-03-09 16:33:03 +05:30
KakatkarAkshay
014e9efda0 avicii: Import automatic brightness overlays from AC2003_11_F.17
Change-Id: I5d5d476530bfcd09533ac38de45866f31207d628
2023-03-09 16:33:03 +05:30
LuK1337
bb5ca4c5c7 sm8250-common: Pull CarrierConfig overlay from OOS 11.F.13
Change-Id: Iff51b578735ec208427dd8f506d8119f8ec1be8c
2022-12-21 22:22:58 +01:00
Michael Wright
0bd5603fc5 sm8250-common: overlay: Enable haptic text cursor
Support has landed in WebView, so time to turn it on in framework!

Change-Id: I064cf3512928637895932b3405adaec74b1ceed2
2022-11-16 13:21:20 +01:00
Dan Pasanen
f49ac8cad2 sm8250-common: Enable config_vibrateOnIconAnimation
* Need those sexy vibes.

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
2022-11-16 13:21:19 +01:00
Alexander Koskovich
5a2761c2f8 sm8250-common: Move Bluetooth power overlays to sysprops
* These were moved to sysprops in Android 13 [1] and while
   frameworks reads the values directly from power_profile.xml
   Bluetooth app reads from the properties.

 [1] 976d33062b%5E%21/#F0

Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5
2022-09-19 13:18:16 +02:00
jabashque
ebffc31753 sm8250-common: overlay: Decouple display state from auto-suspend
On stock, `config_powerDecoupleAutoSuspendModeFromDisplay` is set to
false. However, by leaving it set to false here, the device is unable to
enter deep sleep mode while Always-on Display is enabled. We will
deviate from stock by setting it to true here.

Change-Id: I47a0f78a43045718b3730387ea7b91c00b9c3794
2022-09-03 01:08:39 -07:00
Santiago Seifert
bb4f40464c sm8250-common: Unpin updatable-media from memory
Bug: 214499288
Test: Presubmit
Change-Id: I83757ae6a053ec6b10b08322c4e76d988f1a4a48
2022-08-19 21:59:31 +02:00
LuK1337
421a93824f sm8250-common: overlay: Add VZW MMS UA profile config
config_mms_user_agent_profile_url seems dead but nonetheless stock still
seems to use it.

Change-Id: I78efbbfb5e2012f54905565e208a3b75fa05bf56
2022-08-19 21:59:31 +02:00
Alexander Koskovich
b6059af754 sm8250-common: overlay: Don't translate some strings
Change-Id: I1ea88f84af03f157894c11f857fc59ad0a4bae88
2022-08-19 21:59:31 +02:00
Alexander Koskovich
5da9896de4 sm8250-common: overlay: Drop explicit 'sdk_version' declaration
* We don't need to manually set this anymore.

Change-Id: I1239ba541636e53f8ea4373d3815024f2cd60824
2022-08-19 21:59:31 +02:00
Alexander Koskovich
bad7e9af6a sm8250-common: overlay: Define audio safety overlays
* From android_framework_res_overlay.audio.product.20853

Change-Id: Ib7be879ccce9d152ad4baaa6948b6d7141699d08
2022-08-19 21:59:31 +02:00
Dyneteve
84af0cbdac sm8250-common: CarrierConfig: Remove "SIM x is HD capable" message
sed -i '/config_update_service_status/ s/true/false/g' \
       overlay/CarrierConfigResCommon/res/xml/vendor.xml

Change-Id: I26ce187483d6d8c18bcd1901cd6d71ca6ec1e31f
2022-08-19 21:59:31 +02:00
Cassie
91ca9fb3c3 sm8250-common: overlay: Use the new auto network selection UI
Change-Id: I76698911103601d5f3ad67e1099790af8c2fdc18
2022-08-19 21:59:20 +02:00
Etan Cohen
26ebab5c4e sm8250-common: overlay: Depend on carrier provisioning for WFC
Change-Id: I2cdeb1e39a68922dc8489998f65dcc6c891da31c
2022-08-19 21:59:20 +02:00
LuK1337
3fffab443b sm8250-common: overlay: Disable AOD by default
Change-Id: I474ec8ab718140c30c1032adca6946461bba593e
2022-08-19 21:59:20 +02:00
Cosmin Tanislav
4ea2bee34e sm8250-common: Support UDFPS on AoD
Change-Id: I7196dce967c9adbc62bb5156ade749c92c7780a1
2022-08-19 21:59:20 +02:00
Alexander Koskovich
9fd2a3a103 sm8250-common: overlay: Import relevant custom changes made prior to RROs
Change-Id: Id3e5c5548088209a2459217dcdfe78fb59ff7221
2022-08-19 21:59:20 +02:00
Alexander Koskovich
1dec88e407 sm8250-common: overlay: Import CarrierConfig changes from IN2025_11.C.33
Change-Id: If5dbeed7534c80db6712044e6898f59b11f17941
2022-08-19 21:59:20 +02:00
Alexander Koskovich
7a16b98fec sm8250-common: overlay: Use CarrierConfig DTMF & CSP booleans
* Overlays were deprecated awhile ago for these.

Change-Id: I51b70aa15f128186063ce52446cb67715a957185
2022-08-19 21:59:20 +02:00
Jake Weinstein
3a30eb7623 sm8250-common: overlay: Disable global mode and CDMA choices
* Cleans up mobile network settings.

 * CAF already disables world mode in CarrierConfig
   which is the proper way to do it, so remove the
   overlay entierly since it's deprecated anyways.

Change-Id: Ib331062fa77a18661bbfcd1a49f62ddf9144228c
2022-08-19 21:59:20 +02:00
Alexander Koskovich
412c217707 sm8250-common: Import cleaned KONA RROs from IN2025_11.C.33
Change-Id: I6c668a7fb81fbe69fbdb9c75725bb586010c75d9
2022-08-19 21:59:20 +02:00
Alexander Koskovich
8e01da7f3c sm8250-common: Import CarrierConfig RRO from IN2025_11.C.33
* Remove anything that the value is already the default,
   or deprecated.

Change-Id: I597a93b580754a7fde51d051accfffca54c22482
2022-08-19 21:59:20 +02:00
Alexander Koskovich
acc5cae874 sm8250-common: overlay: Atomize
Change-Id: I972d46e1dafb03b42249193fd033e91c4e3b3bc5
2022-08-19 21:59:20 +02:00
LuK1337
7e3d4ba421 sm8250-common: Sync color modes with stock
Change-Id: I0f5ea1dc6f352c34bd3a321ef19f2e9c7866a1de
2022-08-19 21:59:19 +02:00
jabashque
6620360df7 sm8250-common: overlay: Decommonize refresh rate config
instantnoodle is a contrarian that has a 90Hz display, so unfortunately,
we have to set the refresh rate and peak refresh rate values for each
device instead.

Change-Id: I868d84352a46eed19b2433c6aff32a4d9c0b9d03
2022-02-28 01:06:31 +01:00
Bruno Martins
9530fdf1c5 sm8250-common: overlay: Enable smooth display with 120Hz
There's no point to keep using custom pref to set minimum refresh rate
when AOSP smooth display feature behaves in the exact same way in
our case.

Change-Id: I497918a9c9687443a9438fb6291769f6e51d9379
2022-02-27 18:25:56 +01:00
LuK1337
ab4c715451 sm8250-common: Map our display modes out using AOSP overlays
Change-Id: I1124033f4c7dd5362514656bcab1da80f89f4080
2022-02-21 22:06:10 +01:00
Nicolas Geoffray
9977e8d095 sm8250-common: Remove odex/oat files from pinner list.
The pinner now asks the runtime for these files.

Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: I8de2a2935901cbd3eaa50ce2d8aa09f61080ba02
Merged-In: Ie633ea788dab3389a3407ec9a461b5837befca46
2022-01-25 20:08:10 +01:00
Kevin Jeon
75b21d1b22 sm8250-common: Update SurfaceFlinger pin on all targets
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 (coral)
      - shows that /system/bin/surfaceflinger is successfully pinned
      adb logcat | grep PinnerService (coral)
      - no longer shows a file-not-found error in PinnerService
Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460
2022-01-25 20:08:10 +01:00
chandra
dc976b0c66 sm8250-common: Enable config_powerDecoupleInteractiveModeFromDisplay
* It's set to true on stock.

Change-Id: I23220f18e8376d05c769c01a289d27f658372cbc
2021-06-27 10:27:45 +02:00
Bruno Martins
eae431410f sm8250-common: overlay: Set IWLAN data service package name
Change-Id: I0f6a7531f57eaf293299b72e9ced9de70cc32477
2021-06-17 11:09:50 +02:00
LuK1337
2bf9eeee2f sm8250-common: overlay: Map out our display modes
Change-Id: I2755d5a938848d41382f1d3945f008d94eec1cbd
2021-04-27 18:49:50 +02:00
Prakash Pabba
ab3f0df0d6 sm8250-common: Add Ethernet type in network attributes
testGetAllNetworkInfo CTS test fails for instant
mode due to no ethernet type network attribute
support and selinux denial to find ETHERNET_SERVICE.

Add ethernet type network in network attributes overlay.

Change-Id: Ie70df6c0473aa1b20d383f2892d18a2f0583c7a9
2021-02-03 14:43:07 +01:00
Aalique Grahame
fbcac66dd9 sm8250-common: overlay: Add audio related features
Add audio related features present in android config
file to overlay config file.

CRs-Fixed: 2088093
Change-Id: I45f6d3ea68204ab254846726f0fe14bea91bb602
2021-02-03 14:42:31 +01:00
NAGASHREE S
ad63669730 sm8250-common: HFP: To enable the inband ringtone property
The change enables the inband ringtone
property.

CRs-Fixed: 2403633
Change-Id: Ib3e5cf66cad1afc40357f169ebfaeb762fdbf41e
2021-02-03 14:41:40 +01:00