Commit graph

20 commits

Author SHA1 Message Date
Danny Lin
7b777a590e sm6225-common: overlay: Settings: Enable Smooth Display setting
caprip, devon, rhode have peak refresh rate higher than
60 Hz, so allow users to toggle high-refresh rate like on stock.

Dhina17:
 - There is no effect on devices which don't have refresh
   rate higher than 60 Hz.

Change-Id: I7fcbb905b61575de8c5e9d9a935463932551fb6a
2023-05-30 15:56:35 +02:00
Michael Bestas
7cd1a04f46
sm6225-common: overlay: Decommonize config_screenBrightnessDark
Change-Id: I42b87d2978b9c874693f68d16cc798fe7b006ed7
2023-05-13 17:29:22 +03:00
Michael Bestas
771370b2c1
sm6225-common: Decommonize some overlays again
Change-Id: Ia5feace132269d2727ff54b1802249cce5253f2d
2023-05-07 01:03:33 +03:00
Michael Bestas
8603e61195
sm6225-common: Cleanup overlays
Change-Id: I87ca78b9b40d0e74b8ba530c53d6107fe6d8a426
2023-05-07 01:03:33 +03:00
Dhina17
7ad155b0de sm6225-common: overlay: Update vibration patterns from rhode
- values from rhode user-12-S1SRS32.38-132-8
- devon and rhode both have the same value.
  hawao doesn't have any values in the stock.
  so let's use this.

Change-Id: I490fa026328bc61a5d4cfd30d0ad631193af9cff
2023-04-26 03:04:40 +05:30
Dhina17
7a07c45a14 sm6225-common: Import common SystemUI overlays
Change-Id: I6cb32967712f7b36a46a08f960f4cae6c913eba9
2023-04-26 02:52:32 +05:30
Dhina17
53da9df5c0 sm6225-common: Commonize some framework-res overlays
Change-Id: I04645d0f43f5edf21ce6cde079260e7c030b30d0
2023-04-26 02:52:29 +05:30
Michael Bestas
1289f21a56
sm6225-common: Overlay config_virtualKeyVibePattern
Extracted from stock config_keyboardTapVibePattern which is now
deprecated, fixes weak vibrator when navigating and typing.

Change-Id: I5b830af0b6c67c52805013092eba19f1c7b6c92b
2023-04-23 22:15:26 +03:00
Michael Bestas
a49c8ff4c0
sm6225-common: Remove unused system properties
* Move navigation bar/WiFi Display to overlays
* Remove unused blur prop
* Remove atfwd prop that is set in init scripts

Change-Id: Ia946b6391bcb6e12f6700f449d928ea86024c3a3
2023-04-20 04:38:04 +03:00
Kevin Jeon
f87caaf5b6
sm6225-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
2023-04-19 20:35:10 +03:00
Nicolas Geoffray
089d6be078
sm6225-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
2023-04-19 20:35:10 +03:00
Bruno Martins
a3b781eca8
sm6225-common: overlay: Remove BT related configs
These have been migrated to sysprops in Android 13.

Change-Id: I34c1f6b882a61df6db95523997002512354d875e
2023-04-14 05:13:11 +03:00
Dhina17
35842ecfa8 sm6225-common: overlay: Use /dev/input/event to detect headphone jack
If your device detects headphone in 'getevent -l' like:
  On headphone insert:
       /dev/input/event8: EV_SW        SW_HEADPHONE_INSERT  00000001
       /dev/input/event8: EV_SW        SW_MICROPHONE_INSERT 00000001
       /dev/input/event8: EV_SW        SW_JACK_PHYSICAL_INS 00000001
  On headphone removal:
       /dev/input/event8: EV_SW        SW_HEADPHONE_INSERT  00000000
       /dev/input/event8: EV_SW        SW_MICROPHONE_INSERT 00000000
       /dev/input/event8: EV_SW        SW_JACK_PHYSICAL_INS 00000000

but not in the android system, you should enable this to use /dev/input/event
to detect the headphone/microphone jack.

Change-Id: Ibb387c1624b66385515989bc543afdb9a9f5b67e
2023-04-09 01:09:24 +05:30
Dhina17
a48cdbbe21 sm6225-common: overlay: Declare powerbutton fps
- moto sm6225 tagets have side mounted fps only.

Change-Id: I85ac4438f2c55411620380f6e1eaa54139b2e1b8
2023-04-09 01:09:24 +05:30
Stephen Thomas-Dorin
10aca005ee sm6225-common: Update config_ims_rcs_package to use new ImsService
Change-Id: I77fcd2a3451c99df5fa47136fa0cd36a5abab9fe
2023-03-30 22:51:57 +05:30
Dhina17
483acafed0 sm6225-common: Import Telephony overlay from CodeLinaro
TAG: LA.UM.9.15.r1-05800-KAMORTA.QSSI12.0

Change-Id: I540ae25ba3b0a04db0f12f2954e2ebf7f20d44df
2023-03-30 22:51:57 +05:30
Dyneteve
625d699345 sm6225-common: CarrierConfig: Remove "SIM x is HD capable" message
* sed -i 's/"config_update_service_status" value="true"/"config_update_service_status" value="false"/g' overlay/packages/apps/CarrierConfig/res/xml/vendor.xml

Change-Id: I26ce187483d6d8c18bcd1901cd6d71ca6ec1e31f
2023-03-30 22:51:57 +05:30
Dhina17
d4c62344b5 sm6225-common: Import CarrierConfig from CodeLinaro
TAG: LA.UM.9.15.r1-05800-KAMORTA.QSSI12.0

Change-Id: Id2f1d15edc8b89325e6052388ee91c6e387eab20
2023-03-30 22:51:57 +05:30
Dhina17
c14a27f6fd sm6225-common: overlay: Import default pinner list
- from hawao S2SE32.28-41-1

Change-Id: Ia4db413da84a387fba6ec9f99fd0555e6185d7f2
2023-03-30 22:51:57 +05:30
Dhina17
6634c92512 sm6225-common: Import common overlay from CodeLinaro
TAG: LA.UM.9.15.r1-05800-KAMORTA.QSSI12.0

- Dropped some duplicates defined in vendor/lineage.

Change-Id: Ie0be498ce9eb8beb578f22d0eca38222d88f1ed4
2023-03-30 22:51:50 +05:30