Commit Graph

58 Commits

Author SHA1 Message Date
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
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
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
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
9c85d1202f sm8350-common: overlay: add wifi_slave to list of network attributes 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
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
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
Demon000
aed7150e72 sm6250-common: overlay: import power profile 2020-07-23 13:05:39 +03:00
Amruth Ramachandran
9c57868dfc sm6250-common: overlay: Enable IWLAN assisted mode
Add  qti.data.iwlan package
  Enable IWLAN HAL

Bug: 130182008
Test: WFC sanity
Change-Id: Icd8b0ff567df13b7efd3ce8fd7fc768c733ac489
2020-07-15 23:03:28 +03:00
Demon000
adc6dc7c54 sm6250-common: overlay: use /dev/input for jack changes detection 2020-07-15 23:03:28 +03:00
Demon000
0f88523462 sm6250-common: overlay: declare automatic brightness availability 2020-07-15 23:03:28 +03:00
Demon000
f7d8997048 sm6250-common: overlay: enable accelerated color transformations 2020-07-15 23:03:28 +03:00
Demon000
2e8f6a90ce sm6250-common: overlay: configure bluetooth power usage 2020-07-15 23:03:28 +03:00
Demon000
776680cec8 sm6250-common: overlay: support unprocessed audio sources 2020-07-15 23:03:28 +03:00
Demon000
5ab8e4473f sm6250-common: overlay: declare hotswap capability 2020-07-15 23:03:28 +03:00
Demon000
e9b808a352 sm6250-common: overlay: disable phone object update on registration state change 2020-07-15 23:03:28 +03:00
Demon000
e9df0999f5 sm6250-common: overlay: configure IMS 2020-07-15 23:03:28 +03:00
Demon000
7bcdcafeb4 sm6250-common: overlay: configure mobile tcp buffers 2020-07-15 23:03:28 +03:00
Demon000
3c193c1865 sm6250-common: overlay: decouple interactive mode from display 2020-07-15 23:03:28 +03:00
Demon000
07c1c93f5c sm6250-common: overlay: add radio attributes 2020-07-15 23:03:28 +03:00