Commit Graph

116 Commits

Author SHA1 Message Date
?UTF-8?q?Ph=E1=BA=A1m=20Ti=C3=AAn=20Sinh?=
b08262f3ce avicii: overlay: Enable smart charging
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-23 18:40:43 +05:30
AmolAmrit
5d5f9f3a8e avicii: overlay: Enable burn-in protection in ambient mode
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-23 18:40:43 +05:30
AmolAmrit
c8af031241 avicii: overlay: Enable screen-off UDFPS support
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-23 18:40:43 +05:30
ShevT
52ed2f5cdb avicii: Update battery info every second when device is charging
This fixes an issue with displaying fast charging on the lock screen
 when connecting/disconnecting the charger.

Change-Id: I6c72ef056ee247ca6f1ddb12b3542becd7636a90
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-23 18:40:42 +05:30
ShevT
92c2bd563d avicii: Show refresh rate QS tile
Change-Id: If768f2c7f71b7a688dd9924a2c71c6c4b7e5766a
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-23 18:40:42 +05:30
Lup Gabriel
3b0dbc6e93 avicii: Add FPS overlay
Change-Id: Ied3d6b873a071cb34f863a7027a6fa9fd3d0db69
2023-04-23 18:40:42 +05:30
piscesmk2013
6e18f243f6 avicii: Add distance sensor check for double tap and long press to wake up
Change-Id: I367ed0a3351831bfd6aaf5db4f81408caed92b2d
2023-04-23 18:40:42 +05:30
AmolAmrit
762b01a436 avicii: Update ambient item in power profile
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-23 00:27:56 +05:30
Danny Lin
6b99fd74ea avicii: overlay: Don't pin camera in memory
The default camera app can be *huge* in some cases, e.g. when the app in
question is Google Camera. The system will only pin up to the first 80
MiB of the APK file, as well as the first 80 MiB of its odex. There are
several problems with this:

  - We could easily end up with 160 MiB of camera app files pinned,
    which is a somewhat tall order with the ~5.3 GiB of usable RAM that
    we have
  - The data that gets pinned may not even be the most critical data for
    launching the camera

Disable pinning of the camera app to save precious RAM on this device.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-04-23 00:27:56 +05:30
John Galt
3993e76964 avicii: overlay: Update pinner list
Based on
c33cdcb75d

This includes critical graphics libraries and framework ext.

Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-23 00:27:56 +05:30
Arian
cceab735b0 avicii: Remove dsp. prefix from audio and video power profiles
* AOSP power_profile.xml does not include this prefix
 13.0

Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-23 00:27:56 +05:30
orges
462b2266f4 avicii: Fix deprecated power profile items
* PowerProfile: screen.on is deprecated! Use screen.on.display0 instead.
* PowerProfile: screen.full is deprecated! Use screen.full.display0 instead.

Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-23 00:27:56 +05:30
AmolAmrit
53230d8e75 avicii: overlay: Configure WARP charging
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-23 00:26:13 +05:30
ShevT
2b4c3042dc avicii: Enable split notification shade
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-04-14 23:42:58 +05:30
LiMee233
d6294064e3 avicii: overlay: Optimized auto brightness adjustment
* Make auto brightness more stable, prevent the brightness from
  jittering repeatedly in dim environment.

Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-14 23:42:58 +05:30
Pranav Vashi
520653d477 avicii: Switch to crdroid doze
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-14 23:42:57 +05:30
Pranav Vashi
0ed0d34805 avicii: overlay: Turn on screen on unplug
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
2023-04-14 23:42:57 +05:30
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