Commit Graph

50 Commits

Author SHA1 Message Date
x0x00044
c90f1d82bd
sm6150-common: overlay: Remove config_cellBroadcastAppLinks
- This is true by default.

Change-Id: I9f91f4bf49995975d434ad8b74b175693409862a
2024-06-18 02:59:58 +05:30
basamaryan
03408f01f4
sm6150-common: Do not force DCI-P3 on adaptive color mode
Since Android 14, when we use the DCI-P3 color space on the adaptive color mode
there are multiple frame drops while using the device. Don't force it for now
until we have a proper fix.

Change-Id: I7ab3604f4b2932f0710374055d086aefad37aaab
2024-04-10 13:26:47 -04:00
Danny Lin
d166f5ef61
sm6150-common: overlay: Enable subtle tick vibration when revealing shelf
The stock ROM enables this because our vibrator supports subtle "tick"
vibration effects. Enable it in our device tree as well to make pulling
down the notification shade/QS panel feel slightly more interactive.

Change-Id: I0c160694bd9616c8693a659da8db9cf4e59ba4c3
2023-11-14 14:15:00 -05:00
SebaUbuntu
9d72a6566e sm6150-common: overlay: Drop MMS user agent overlays
* Current profile URL points to a 404 page

Change-Id: I92f3ded52dda04f6cec5709d51c84b32f39d8095
2023-06-05 11:38:04 +02:00
Danny Lin
d220c17b24 sm6150-common: overlay: Don't pin camera app 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 tall order with the 8 GiB of usable RAM that we have
  - The data that gets pinned may not even be the most critical data for
    launching the camera

Let's disable pinning of the camera app to save RAM.

Change-Id: I745e39b6ff212dfaf9213517d2a2be8ff7384e24
2023-06-05 11:38:04 +02:00
Arian
5dee55fd0a sm6150-common: overlay: Set preferred refresh rate on keyguard to 60
This ensures that the device doesn't switch to hrr while
doze mode is active.

Change-Id: I8488e86e56a46aea95f2835d8667c23401625f0b
2023-06-05 11:38:04 +02: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
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
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
Nicolas Geoffray
ef38d89538 sm6150-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-04-19 19:35:09 +02:00
Kevin Jeon
cb96f74c9c sm6150-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-04-19 19:34:50 +02:00
Arian
b01b18c6fd sm6150-common: Drop renderscript pin
Change-Id: I231931f202adc0209db8e6c7d3449bf1c318b820
2022-04-19 19:34:28 +02:00
Arian
b3b6b7c683 sm6150-common: overlay: Decommonize vibration patterns
Our devices have different haptics devices which can
benefit from specific configuration.

Change-Id: Ida902a89162ee6befacda3bd014e57a828c78d8f
2021-12-29 10:08:52 +00:00
Jenhao Chen
9010fc737d
sm6150-common: Enable zram writeback
Bug: 128889899
Test: Boot to home

Change-Id: I48ae06e54a66a7d6965afbe8db3d2f157cf8a1f4
2021-08-06 19:25:07 +02:00
Chia-I Wu
2db5017df7
sm6150-common: overlay: Remove COLOR_MODE_SATURATED
It is replaced by COLOR_MODE_AUTOMATIC.

Bug: 110524699
Test: Settings > Display > Advanced > Colors
Change-Id: I116b50fde456a24c90fd83969cd2fc30f84947ee
2021-06-18 18:34:30 +02:00
Gil
b612c65f72
sm6150-common: overlay: [Display] Enable adaptive color mode
Enable Adaptive color mode setting.

Bug: 143513730
Test: Boot test and measure the adaptive color value

Change-Id: I969ec6c3cb1d092a33c0e3a028ff38ad7115dfe2
2021-06-18 18:34:30 +02:00
Christine Franks
3ee56cb4c4
sm6150-common: overlay: Add config value for a11y color mode
Accessibility transforms require a specific color mode that is not
always available for the user to select.

Bug: 130376719
Test: atest com.google.android.config.pts
Change-Id: Ia3211d5aa6e117c5361dea44d944064b23260a81
2021-06-18 18:34:30 +02:00
Arian
83fd7346ac
sm6150-common: overlay: Decommonize brightness overlays
Change-Id: I70b781a8d9a30555848dbf2783c69aeb4b9e1425
2021-06-18 18:34:30 +02:00
Arian
690cccbaba
sm6150-common: Decommonize lights HAL and overlays
* toco and sweet don't have a notification light and since backlight
  control has been moved to hwc this HAL is not needed for these targets.

* Keep the HAL itself in common tree so that devices which need are able
  to build the lights HAL which is common for all targets with a
  notification light.

Change-Id: Ia4c3c96e49b5ce58f4f55b92a65321fb258f8975
2021-06-18 18:34:30 +02:00
Arian
27700c723f
Revert "davinci: overlay: Enable STATE_DOZE_SUSPEND"
* We do not support different low power modes and handle doze lp1
  and lp2 the same in kernel which makes this redundant.

This reverts commit ba52828323.

Change-Id: Ie51dea708f157d1f0ba19f1b00dc8ce3cf892931
2021-06-18 18:32:31 +02:00
Arian
72944d2612
sm6150-common: overlay: Remove adaptive colour mode
Change-Id: I4f36e2c874773c44161536b2f8dbf4cbb7325b84
2021-06-18 18:32:31 +02:00
Arian
57ed428fca
sm6150-common: overlay: Decrease minimal brightness level to 1
* It was previously bumped to 2 because 1 was causing a purple tint
  which didn't disappear after fod. This was fixed by properly handling
  the minimal brightness level in kernel.

Change-Id: Iec1f73260c061cf5616ee9322514b33d889adfe5
2021-04-25 15:23:52 +02:00
raghavt20
0aa378102c
sm6150-common: Transform davinci into common tree
* The following things are left in devices, because they're device specific
  - voip compress properties
  - HVDCP properties
  - audio configs
  - power profile
  - rounded corner configuration
  - partition configuration
  - FOD
  - camera motor
  - NFC
  - board-info
  - fstab
  - ipa and graphics firmware
  - shipping and manifest target level

Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: I8bef29041f8f239361b999fc8ab1a43cc2ebb86b
2021-04-25 15:18:14 +02:00
Ravi Paluri
8ef94f86fb
davinci: Ims: Add ImsService package name
Specify ImsService package name with <config_ims_mmtel_package>
and <config_ims_rcs_package>

Remove old Ims Config flag <config_ims_package>
and <config_dynamic_bind_ims> that are no more
used

Change-Id: Ib928e8ca24ca18a1951145f229786327a4806c19
CRs-Fixed: 2610689
2020-12-30 02:02:56 +01:00
TheScarastic
64813f7c8d
davinci: overlay: Adjust biometric dialog for 11
Change-Id: Id8ee895e7fe8bb643f73eaa45116ecd64d697c38
2020-12-30 02:02:56 +01:00
Arian
bbffa4d83a
davinci: overlay: Remove tethering regexs
Change-Id: Ia844ce570b1829a5fe587858ac5e9e36a6988c9b
2020-12-30 02:02:03 +01:00
Michael Bestas
c97a140a84
davinci: TetheringOverlay: Drop custom dhcp range
Qcom extends default range to add wigig support,
which we don't support.

Change-Id: I17324e41b8345de508e8d2627ea282c65ab1262b
2020-12-30 02:02:03 +01:00
Roshan Pius
f5d17f6440
davinci: overlay: Remove wifi related internal overlays
These are replaced by formal mainline module overlays.

Bug: 143464763
Test: Send for  Wifi regression tests
Change-Id: I45881ed210132252b9c5c7d6be03ed845e33f971
2020-12-30 02:01:52 +01:00
Roshan Pius
56af3a41c1
davinci: overlay: Enable Fast bss transition config
Bug: 32607043
Test: Manual testing
Change-Id: I43d34efc6b7dbca08d430b0b68f06fa70c4925cc
2020-12-30 01:47:51 +01:00
Kevin Chyn
62f0aa7ffd
davinci: overlay: Add fingerprint configuration to overlay
The framework was changed in Android R to require explicit authenticator registration.
This change allows apps to continue to use the fingerprint sensor.

Bug: 147445115

Test: Builds
Change-Id: Id3385edc784b2053c8b54ec3153728f4e6e22a45
2020-12-30 01:47:47 +01:00
Subhajeet Muhuri
fc8b758d1a
davinci: overlay: Update pinner list for new SystemUI location
Change-Id: I93c1a4b73ca1f03ca0fcf9cbe4ce1b057a739ca6
2020-12-30 01:47:47 +01:00
Martin Stjernholm
54e514ed1f
davinci: overlay: Update paths to the new ART APEX.
Test: Presubmits
Bug: 135753770
Change-Id: I98378100456dce927ccc253301a398d70d1b7368
2020-12-30 01:47:47 +01:00
Nicolas Geoffray
4eb4da8349
davinci: overlay: Update in pinned files.
Remove or update paths that don't exist.

Bug: 119800099
Test: boots
Change-Id: Ib2cea88499cf08274d620d9d85ffcafc31fee868
2020-12-30 01:47:47 +01:00
Arian
ba52828323
davinci: overlay: Enable STATE_DOZE_SUSPEND
Change-Id: I30af14b78bd0a1a18ec1511b574ea9944f160175
2020-11-28 18:12:03 +01:00
yankarinRG
88e69626ee
davinci: overlay: Update path defining rounded corners
Change-Id: I82669e8c10aab56d1a5ecc1b410435aa3a82e256
2020-11-28 18:12:02 +01:00
yankarinRG
53abf93216
davinci: overlay: Update window corner radius adjustment
to take software rounded corners into account

Change-Id: I056cb5f03ce065465e46dfe6db74094d43d6499b
2020-11-28 18:12:02 +01:00
yankarinRG
bfd3451ff5
davinci: overlay: Adjust window rounded corners
to make sure they will completely cover the display

Signed-off-by: Marco Rizzo <marco.rizzo.00@outlook.com>
Change-Id: I5ff1a727545c383692b02dabdbcf8810b70df1a1
2020-11-28 18:12:02 +01:00
yankarinRG
0b15b7fb4e
davinci: overlay: Add proper keyguard/statusbar configs for rounded corners
- on keyguard, added start padding to carrier text to account for the rounded corners
- on keyguard, added end padding to right system icons when multi user switch is not showing
- on keyguard, added end padding to multi user switch

Change-Id: I7c73c538c08b746f3d0f21b2d22586134a87353d
2020-11-28 18:12:02 +01:00
Marco Rizzo
20e302fbcf
davinci: overlay: Tune vibration levels
Change-Id: I6936b97837d0e9296503b7da01073daf9a9b00dd
2020-11-28 18:12:02 +01:00
Glen Kuhne
888ec201cf
davinci: overlay: Set default hotspot ssid
Added a device specific overlay that changes the default name
from "AndroidAp" to "Xiaomi Mi 9T"

Test: Builds, manually verified name change
Bug: 36368950
Change-Id: I38a5f6fb950d6a45342080bae186a8ed276d94bf
2020-06-23 21:53:27 +02:00
Bruno Martins
578710badc
davinci: overlay: Declare STATE_DOZE support
* This is required for Ambient Display to work properly.

Change-Id: Ibad86be4e1c43a221fc2224d0a8f8ca2c938a6c7
2020-06-23 21:34:11 +02:00
yankarinRG
7e94e6fd04
davinci: overlay: Configure proper rounded corners
- changed out the path defining the software rounded corners to exactly match the hardware curve
- found the radius that would provide the most anti-aliasing without increasing the radius of the corner
- rounded corners should be in px instead of dp, so on display size change corners don't change
- moved some configs to right place

Test: visual inspection. The corners should be perfectly rounded and anti-aliased, without jagged edges
Change-Id: Iecb3d627ed043e99d7ce38c6f214cea90f100c41
2020-06-23 21:34:11 +02:00
TheScarastic
f1291bdf88
davinci: overlay: Adjust Biometric dialog for fod
Change-Id: Ie6cfe2704ec2ba58e0024f583164e123885c0e75
2020-06-23 21:34:11 +02:00
Arian
4ea83bdcec
davinci: overlay: Adjust vibration strength
Change-Id: I994fc0e16fe62c89badbf23f871938032d795a19
2020-06-23 21:34:10 +02:00
Arian
7717128b72
davinci: overlay: Enable suspend when screen off due to proximity
Change-Id: I693a9ed7a86a9026b4319d22476431d7d99207b7
2020-06-23 21:33:58 +02:00
TheScarastic
e0b46fcb33
davinci: overlay: Import brightness overlays from MIUI
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: Ib00b3817eece7bb8ff0acafb3d545e4324d7c26d
2020-06-23 21:33:29 +02:00
Arian
a8c405aa42
davinci: overlay: Enable burn in protection
Change-Id: Iaf1aff7e72a30e17ec6f1581cad34b94b37ffa84
2020-05-17 23:09:02 +02:00
Arian
3e7615c3c0
davinci: Add frameworks-res overlay
Change-Id: I6092400eb00d0f97b2a8d8b70e94793f1200ac52
2020-05-17 23:08:31 +02:00