Commit Graph

74 Commits

Author SHA1 Message Date
Georg Veichtlbauer
678df67d35 sm8350-common: Drop config_setColorTransformAccelerated
It's now enabled by default

Change-Id: I57f059c872fc2ad2fd15e788b1391eeebaff9bde
2023-04-16 17:37:35 +02:00
Michael Bestas
88d8ff6808 sm8350-common: overlay: Update multiple vibration strength levels overlay for 13
Change-Id: If17503f2dd4bd4d6e333891f9649a7db8d809852
2023-04-16 17:37:35 +02:00
Alexander Koskovich
a25e493da9 sm8350-common: Add Bluetooth power overlays to sysprops
* These are moved to sysprops in Android 13.

   976d33062b%5E%21/#F0

Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5
2023-03-19 17:12:27 +01:00
Arian
3be76db707 sm8350-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
2022-09-26 17:12:40 +02:00
TheScarastic
3427df5cfe sm8350-common: overlay: Add support for doze auto brightness
Based on observing it's values, xiaomi.sensor.aod reports
the following events:

4.0: Bright environment
5.0: Dark environment

Change-Id: Ie589066bd860a7fed3989092c21aee73686ecea4
Signed-off-by: Arian <arian.kulmer@web.de>
2022-09-26 17:12:40 +02:00
Michael Wright
39c4d971b6 sm8350-common: overlay: Enable haptic text cursor
Support has landed in WebView, so time to turn it on in framework!

Change-Id: I064cf3512928637895932b3405adaec74b1ceed2
2022-09-25 20:04:30 +02:00
Santiago Seifert
57fc3989ac sm8350-common: Unpin updatable-media from memory
Bug: 214499288
Test: Presubmit
Change-Id: I83757ae6a053ec6b10b08322c4e76d988f1a4a48
2022-09-25 20:04:30 +02:00
Nicolas Geoffray
efaa21f60b sm8350-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-09-25 20:04:30 +02:00
Kevin Jeon
f58718e51d sm8350-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-09-25 20:04:30 +02:00
Arian
b0b88840d4 Revert "sm6250-common: Hide sRGB toggle in developer options"
This reverts commit 4372eed462.

Change-Id: Icd049f2e874d7044e7a156eac7d3f1d4e16460f1
2022-04-01 17:39:06 +02:00
Danny Lin
ec5837aed6 sm8350-common: 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
2022-04-01 17:39:06 +02:00
Arian
4ce74b0632 Revert "sm6250-common: overlay: Add pinned files from stock"
These are not pinned on stock.

This reverts commit 98c9d2a95b.
2022-04-01 17:38:12 +02:00
Arian
002c333db5 sm8350-common: overlay: Drop brightness ramp rate configuration
Change-Id: I69b906fbc0ae18c4d5832fc642beaae38ff6d392
2022-04-01 17:37:30 +02:00
Arian
3b3e64454a sm8350-common: overlay: Update bluetooth power configs from odin MIUI V12.5.12.0.RKMCNXM
Change-Id: I0ab13fb86b352680439198058b615f29f76f0165
2022-04-01 17:36:54 +02:00
Murat Kozan
45f54b22ca sm8350-common: Enable vibration intensity control
* Activates some options on Settings>accessibility>vibration

Change-Id: I00e20f0d607736c04d5c2a0bd9c513c7f5fd8b41
2022-04-01 17:36:54 +02:00
Gil
bb4f7c3efa sm8350-common: Enable adaptive color mode
Enable Adaptive color mode setting.

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

Change-Id: I969ec6c3cb1d092a33c0e3a028ff38ad7115dfe2
2022-04-01 17:36:54 +02:00
Arian
e4e2055f2a sm8350-common: overlay: Add missing doze configurations
This fixes deep sleep on AOD. The values are from stock,
note that xiaomi did not use RRO for these values, hence
the values are changed in framework-res.apk directly.

Change-Id: I9c4ea935e7a7df4bd85e1884f91ab25805fe8959
2022-04-01 17:36:54 +02:00
Chirayu Desai
71eb336e1b sm8350-common: rro_overlays: Move CarrierConfig to RRO
Change-Id: Ia57acd244608848f70fdcc30d5694c919db60671
2022-04-01 17:24:10 +02:00
Arian
767e2c13e0 sm8350-common: overlay: Sync CarrierConfig with LA.UM.9.14.r1-19100-LAHAINA.0
Change-Id: I274cd7c5e5e47b2e86dbc733b37960e1a5993e7a
2022-04-01 17:24:10 +02:00
Erfan Abdi
ec751c4848 sm8350-common: Decommonize power_profile.xml 2022-04-01 17:09:02 +02:00
Erfan Abdi
c2e07e6561 sm8350-common: Decommonize some overlays 2022-04-01 17:09:02 +02:00
Cosmin Tanislav
2584dd5c93 sm8350-common: pulse doze on pickup 2021-09-21 01:48:09 +03:00
Cosmin Tanislav
324606f3de sm8350-common: overlay: configure always on display 2021-09-09 20:34:43 +03:00
Cosmin Tanislav
4837a347af sm8350-common: decomonize status bar and rounded corner size 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
2e5bb90418 sm8350-common: overlay: use codeaurora ims package for rcs 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
9c85d1202f sm8350-common: overlay: add wifi_slave to list of network attributes 2021-09-05 01:15:14 +03:00
Cosmin Tanislav
16a3c0c6ba overlay: CarrierConfig: update entries 2021-09-05 01:15:14 +03:00
Weilun Du
8ef6293311 sm6250-common: Add Tethering Config
Tethering package is APEX and we need to create a RRO to overwrite
the values for config_tether_wifi_regexs and config_tether_wifi_p2p_regexs.
BUG: 163800715

Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: Ia0834f5215ff8c3b13effa591bd2f84d93419a06
2020-12-05 00:36:18 +02:00
Ryan Mitchell
a6db72a1fc sm6250-common: 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 sunfish devices.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth componenets.

Bug: 135048762
Test:
      adb shell pm query-services \
      com.android.bluetooth/.a2dpsink.A2dpSinkService
      adb shell pm query-services \
      com.android.bluetooth/.avrcp.AvrcpTargetService
      adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.ba.BATService
      adb shell pm query-services \
      com.android.bluetooth/.hfpclient.HeadsetClientService
      adb shell pm query-services \
      com.android.bluetooth/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService

Change-Id: If41df9fdefbcd952f8387451dc137565343e3d75
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
98c9d2a95b sm6250-common: overlay: Add pinned files from stock 2020-12-05 00:36:18 +02:00
Bruno Martins
b8e451aeec sm6250-common: overlay: Pin standard SystemUI instead of Google's
Change-Id: If96bb13d6cc2c2156d8df111a1037247c96c6e0f
2020-12-05 00:36:18 +02:00
Nicolas Geoffray
590ca15581 sm6250-common: overlay: Update in pinned files.
Remove or update paths that don't exist.

Bug: 119800099
Test: boots
Change-Id: Idd0066e2ab737c9edcf9a745a19aca7421f62575
2020-12-05 00:36:18 +02:00
Jeongik Cha
3b8553c99f sm6250-common: overlay: Update config overlay with new SystemUI location
The app is moving to /product

Test: m
Test: check if it can boot
Bug: 137908189
Change-Id: Ifd73ba03884543e33d61c74d933ad8171dd3b259
2020-12-05 00:36:18 +02:00
Martin Stjernholm
b69a68b581 sm6250-common: overlay: Update paths to the new ART APEX.
Test: Presubmits
Bug: 135753770
Change-Id: If522ab29b6c4e9aab91f5ba41e10947799315f33
2020-12-05 00:36:18 +02:00
Rick Yiu
ac2981bdca sm6250-common: overlay: sync pinner service configs from crosshatch
Bug: 130103428
Test: verified with dumpsys pinner
Change-Id: I8ffe5eee1d40a5ac6be2112621ccda4b4dd5be1a
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
d795f22b08 sm6250-common: Remove wifi related internal overlays
This reverts commit 51e488c63c0e15aac8deb4ac3892ee0ca5b2bffc.
2020-12-05 00:36:17 +02:00
inthewaves
4f5ec3b16e sm6250-common: overlay: add config for biometric sensors 2020-12-05 00:08:57 +02:00
Fiona Campbell
9c463757b8 sm6250-common: Add brightness float values to config file.
Test: manual testing - ensure that the brightness value in
Settings>Display>Brightness Level can go the full range from 0% to 100%.

[wight554: adapted for our value]

Change-Id: Ife1f2796bb3b8ec5f508903afd30a31556b49cbe
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
2020-12-05 00:08:57 +02:00
Brad Ebinger
b2c3d6432a sm6250-common: Add translatable="false" tags to ims package overlays
Bug: 147569830
Test: atest TeleServiceTests:PhoneGlobalsTest
Change-Id: I57d80bbf17fafdc87ba04c6e7f7ab9573482e395
2020-12-05 00:08:57 +02:00
Brad Ebinger
61394f2ce9 sm6250-common: Remove old configuration and use new config for MMTEL/RCS
Remove the old config_ims_package device config and configure the
new MMTEL and RCS configurations in Telephony instead. Also,
configure the RcsService to be the default RCS service.

Bug: 111305845
Test: make checkbuild
Change-Id: I0d709b8248f1c40f0a5b50ec799396706eeadd65
2020-12-05 00:08:57 +02:00
maxwen
d646153a0b sm6250-common: Update overlay to hide sRGB toggle
* Now expected as an array in Settings package

Change-Id: I92a56abb0fc1379e4482d1889d04d8db6a14ea2b
2020-12-03 01:13:05 +02:00
dianlujitao
4372eed462 sm6250-common: Hide sRGB toggle in developer options
* This is only available on Nexus/Pixel devices, and we have our own
   implementation in livedisplay.

Change-Id: I8343e4986d7dd8413bd8d36dfad0309a4c08026e
2020-12-03 01:12:55 +02:00
Demon000
5d74742307 sm6250-common: overlay: enable DT2W 2020-08-18 14:44:17 +03:00
TheMalachite
6fdeeb9833 sm6250-common: overlay: Import correct mainBuiltInDisplayCutout
Change-Id: I35c98114261215bdadb8b0ef863420677f3b2e68
2020-08-13 18:16:18 +03:00
Demon000
e5d5f85e51 sm6250-common: overlay: adjust ramp rates for 255 max brightness 2020-08-13 18:16:18 +03:00
LuK1337
e56248445e sm6250-common: overlay: use 16dp rounded corner padding
Change-Id: I9f81f684d491ed447b7bdb2ca70f558bf75ebc67
2020-08-13 18:16:18 +03:00
Demon000
8dc9578354 sm6250-common: overlay: define automatic brightness overlays 2020-08-13 18:16:18 +03:00
Demon000
fbf5932b94 sm6250-common: overlay: define intrusive notification led 2020-08-13 18:16:18 +03:00
Demon000
7e49500e83 sm6250-common: overlay: status bar height and corner radius 2020-08-13 18:16:18 +03:00
Wang Han
aac7ef6785 sm6250-common: overlay: Configure number of physical SIM slots
Needed by telephony-common.
2020-07-25 13:10:47 +03:00