Commit Graph

55 Commits

Author SHA1 Message Date
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
Adithya R
6139e3481e
Revert "davinci: overlay: Hide sRGB toggle in developer options"
This reverts commit e793668fec.

Change-Id: Ia6a2bd810b0c98efca3fecffe174ba53067013bd
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
Chirayu Desai
a9988f304c
sm6150-common: rro_overlays: Move CarrierConfig to RRO
Change-Id: Ia57acd244608848f70fdcc30d5694c919db60671
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
LuK1337
645f7d8c90
sm6150-common: Disable qti-telephony-common injection for time being
TODO: revisit once usable qti-telephony-common jar is available.

Change-Id: I2b80a3beb931d11db4b8367cded738e935797002
2021-04-25 15:23:51 +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
Jake Weinstein
617bc4471a
davinci: overlay: Disable global mode and CDMA choices
Cleans up mobile network settings

Change-Id: Ib331062fa77a18661bbfcd1a49f62ddf9144228c
2021-04-25 14:49:59 +02:00
Sandeep Gutta
afec83d723
Update hidl-wrapper and telephony-utils jar path
Include system_ext path for both hidl-wrapper and telephony-utils jar's

Change-Id: I7cdd93c71bd4a029971188cab60ed98e401be583
CRs-Fixed: 2637090
2020-12-30 02:02:56 +01:00
Sandeep Gutta
6a3b01b7ef
davinci: FR59664: Move qti-telephony-common jar to system_ext partition
Move qti-telephony-common jar to system_ext partition.

Change-Id: Ib4c366b2c3ceeea59734902aa1825126e7fa402c
CRs-Fixed: 2608010
2020-12-30 02:02:56 +01: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
Arian
03630a53fa
davinci: overlay: Update CarrierConfig from LA.UM.9.1.r1-07500-SMxxx0.0
Change-Id: Ia1198e89c0022b8d81731ce8780210e0c01153bc
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
Ryan Mitchell
aedf08f9cf
davinci: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default
on this device.

Remove usages of profile_supported_sap from overlays as they no
longer configure the enable state of .sap.SapService.

Bug: 135048762
Test: adb shell pm query-services \
      com.android.bluetooth/.sap.SapService

Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
2020-12-30 02:02:16 +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
jonerlin
c260ac2ed9
davinci: overlay: Enable the SAP Profile
* overlay profile_supported_sap config true to support SAP profile

Bug: 124730932
Test: Manually
Change-Id: I1329c17773b5379b51acc6881e444845afe0c59b
2020-12-30 01:47:00 +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
Sandeep Gutta
2f13e34c12
davinci: telephony: Add inject support for MultiSimSettingController
Add MultiSimSettingController class name to telephony_injection to
be able to creat proprietary extended instance.

Change-Id: Ie371001330a34eadab8b46fb2173e9a4f245b1a6
CRs-Fixed: 2475440
2020-08-05 14:03:32 +02:00
Sandeep Gutta
7f3a5fd05a
davinci: telephony: Move qti-telephony-common to product
Add qti-telephony-common.jar product path to inject xml

Change-Id: I0c9bb7c827589236c1231fec0cb2621c2a0e3032
CRs-Fixed: 2438412
2020-08-05 14:03:32 +02:00
Sandeep Gutta
89adfc6c08
davinci: telephony: Add telephony_injection file
Add telephony_injection file and required jar path, components.

Change-Id: Ia2e0d327c1eaed17cb229f1cfca62c6bda85d49b
CRs-Fixed: 2407245
2020-08-05 14:03:32 +02:00
Arian
6e055ec68e
davinci: telephony: Import CarrierConfig overlay from LA.UM.8.9.r1-09300-SM6xx.0
Change-Id: I384c774416df4eedb4eaea2cc52bd41d41117d94
2020-08-05 14:03:32 +02: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
maxwen
e793668fec
davinci: overlay: Hide sRGB toggle in developer options
* This is only available on Nexus/Pixel devices. Already implemented
   in LiveDisplay for devices that have the proper profile in the
   QDCM calibration file or provide the commands via sysfs node.

Change-Id: I1dbeafdef930bcfeb2b950b3adce293307abff85
2020-06-23 21:34:10 +02:00