Commit Graph

75 Commits

Author SHA1 Message Date
itsjoeoui
66c1596c56 sm7250-common: overlay: Enable adaptive sleep
* This allows the use of Screen Attention

Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
Change-Id: Ie6a1aa33151bdb854fd94dd0bb17f1cc85a5a00e
Signed-off-by: firebird11 <hbgassel@gmail.com>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
2023-01-05 23:21:55 +05:30
Hernán Castañón Álvarez
e2ff0a3e1c sm7250-common: Set Alert Slider UI positions
Signed-off-by: CryllicBuster273 <cryllicbuster273@pixelexperience.org>
Signed-off-by: aswin7469 <aswinas7469@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: c79 <vexed@riseup.net>
2023-01-05 23:17:06 +05:30
Anirudh Gupta
3f8be4a11d sm7250-common: overlay: Enable status bar burn in protection
Also set interval to 40 instead of default 60 since HBM mode is a thing

Change-Id: Idade7f5e786c350e58160e0ed49cd3e7de98951c
Signed-off-by: firebird11 <hbgassel@gmail.com>
Signed-off-by: c79 <vexed@riseup.net>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
2023-01-05 23:16:30 +05:30
SGCMarkus
f7553528c2 sm7250-common: overlays: enable 5G SA and NSA
Change-Id: Icf55910aebae8d0ae519f0a0c20708aa81ae0bfc
2023-01-05 22:54:06 +05:30
Cassie
5761196822 sm7250-common: overlay: Use the new auto network selection UI
Change-Id: I76698911103601d5f3ad67e1099790af8c2fdc18
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
2023-01-05 22:52:49 +05:30
manikantaraavi
0c74aa8e55 sm7250-common:overlay:config_roundedCornerMultipleRadius
Signed-off-by: manikantaraavi <raavimanikanta6595@gmail.com>
2023-01-05 22:47:34 +05:30
Etienne Ruffieux
5dbd0af893 sm7250-common: Added new vendors for Bluetooth config migration
Tag: #feature
Test: manual
Bug: 211570675
Change-Id: Id74ec5e1b30f21c534c35b212a2fb297e9d591fb
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:46:23 +05:30
Lucas Dupin
45a3b5eae8 sm7250-common: overlay: Fix Fingerprint Wake-up Animation
Test: visual
Fixes: 147705230
Change-Id: I81071e87a4d945cf243a288acf97586a4f63c3fa
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:45:36 +05:30
Sandeep-FED
058d8522b7 overlay: disable night light fod
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
2023-01-05 22:43:49 +05:30
Sandeep-FED
4b59886315 sm7250-common: set default refresh rate to 0
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:38:52 +05:30
Anirudh Gupta
cdb005fc97 sm7250-common: overlay: Define slow brightness ramp animation rate
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
Change-Id: I00a4303a1a6e237ea0241e539ce635c0d4b9790f
Signed-off-by: Pranav <npv12@iitbbs.ac.in>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:38:44 +05:30
Danny Lin
01b17acae3 sm7250-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.

Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:36:34 +05:30
aswin7469
6cb8811cbd sm8250-common: Enable haptic feedback on text selection/insertion
Signed-off-by: drkphnx <dark.phnx12@gmail.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:29:18 +05:30
mukesh22584
7e9632b5e6 sm7250-common: overlay: Exempt cne from location indicators
- CNE isn't suspicious, So hide privacy indicators for this app.

Signed-off-by: drkphnx <dark.phnx12@gmail.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:29:10 +05:30
Sandeep-FED
b8ea694219 sm7250-common:overlay: Allow more cached apps in the background
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:29:03 +05:30
Chiawei Wang
1f0ced70f0 sm7250-common: Add the customized max cached processes number
Bug: 190531672
Test: make
Test: dumpsys activity | grep CUR_MAX_CACHED_PROCESSES
Change-Id: Iad6ea04fe2cc7223168d2753e53949394056540a
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:28:50 +05:30
Santiago Seifert
87e5d81407 sm7250-common: Unpin updatable-media from memory
Bug: 214499288
Change-Id: If523b95d295feba8f0de0ae85a1b3c2985dbbfbc
Test: Presubmit
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:28:42 +05:30
Minchan Kim
7233137d2c sm7250-common: Enable zram writeback
This is a squash of:
Author: Minchan Kim <minchan@google.com>
Date:   Mon Oct 14 14:22:45 2019 -0700

    Enable zram writeback job scheduler

    Bug: 140882488
    Change-Id: I5489a7ce7a8d73306a6ecf69f57d338b2b0eaad2
    Signed-off-by: Minchan Kim <minchan@google.com>

Author: Minchan Kim <minchan@google.com>
Date:   Tue Nov 26 06:48:48 2019 -0800

    fstab: correct zram parameter names

    There was a report about warning during boot.
    [libfs_mgr]Warning: unknown flag: zram_loopback_path=/data/per_boot/zram_swap
    [libfs_mgr]Warning: unknown flag: zram_loopback_size=512M

    We don't use zram_loopback_path any longer so remove it.
    We also changed zram_loopback_size with zram_backingdev_size so correct it.

    Bug: 145116439
    Test: confirmed there is no warning and zram backing device was configured
    Change-Id: Iafb355999cd4995f34bf67259a8a39993ae8326a
    Signed-off-by: Minchan Kim <minchan@google.com>

Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:17:42 +05:30
Sandeep-FED
a5ad9ba746 sm7250-common: overlay: Set config_screen_off_delay to 0
* Fixed screen flicker when turn off screen with aod on.

Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
2023-01-05 22:17:01 +05:30
Sandeep-FED
d48200c6b3 sm7250-common: Disable gms components for better WiFi speeds
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
2023-01-05 22:15:59 +05:30
Sandeep-FED
851c6c07c0 sm7250-common:Reduce screenshot delay to 0
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
2023-01-05 22:12:54 +05:30
firebird11
6a4d745e08 sm7250-common: Force OPCam into MultiResolution
Change-Id: I0dab3866240489e047fea1bb8822935fb456b951
Signed-off-by: firebird11 <hbgassel@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:02:42 +05:30
MB
c17c94b335 sm7250-common: Improve haptic and vibe patterns 2023-01-05 21:58:49 +05:30
kunalshah
f49a0b06b2 sm8250-common: Disable config_displayBlanksAfterDoze
*This fixes ambient display

Signed-off-by: kunalshah <kunalshah912@gmail.com>
Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
2022-04-08 19:48:59 +00:00
John Galt
5589919dff sm7250-common: overlay/fwb/config: Actually enable adaptive AOD brightness
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
2022-04-08 19:32:32 +00:00
Daniel Solomon
798b78c656 sm7250-common: Add config for display composition color spaces
* Currently we use the Display-P3 color space for display composition
   across all color modes on op8. We do this to facilitate a new version
   of Adaptive color mode; this forces display to always use P3 color
   calibration.

 * It turns out that in op8's case using P3 color calibration for sRGB
   content, even when the content is accurately converted to P3, degrades
   color accuracy for certain sRGB colors. To fix this, we revert back to
   pre-op8 behavior, where we let SurfaceFlinger choose the most
   appropriate color space for composition, for all color modes used on op8
   *except* for Adaptive color mode.

Bug: 137140317
Bug: 137053654
Change-Id: I8670f76aa8c7c513e5a6db291c970a20609d032d
2022-04-01 16:51:37 +05:30
Jake Weinstein
c5c683c160 sm7250-common: Configure available color modes
* Stock already enables Natural, Boosted, and Adaptive.
   We add Saturated to give more options.

Change-Id: Ie8bb08e2cac9f6facdf64f5aebfa2b195a841b43
2022-04-01 16:51:26 +05:30
Nicolas Geoffray
a0aa36af6e sm7250-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-03-28 23:51:39 +05:30
KakatkarAkshay
f8329112dc Revert "sm7250-common: Enable color mode & set display calibration on color mode settings"
This reverts commit 84e9206b3a.
2022-03-28 23:51:39 +05:30
KakatkarAkshay
e43e371fc0 sm7250-common: Set keyguard refresh rate to 60 2022-03-07 13:12:29 +00:00
Jesse Chan
abb00d7401 sm7250-common: overlay: configure SQLite to operate in MEMORY mode
This change yields considerable SQLite performance gains. It should be generally safe as this device has irremovable battery.

Some OEMs have been doing this for years.

Signed-off-by: Jesse Chan <jc@lineageos.org>
Change-Id: I50d9b3d9f019772fedc7066675249116d5e441e4
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2022-03-07 13:12:29 +00:00
aswin7469
4bc5aeaa2e sm7250-common: set correct vendor code for oneplus fod
* needed for udfps to works properly on aod

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2022-02-12 13:21:42 +05:30
Ido Ben-Hur
234c789c62 sm7250-common: overlay: Default to 90Hz refresh rate
This fixes automatic refresh rate and should default to 90Hz upon clean
flashing
2022-01-05 11:00:41 +05:30
Kevin Jeon
bf9c298800 sm7250-common: Update SurfaceFlinger pin
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
2021-10-30 18:20:44 +02:00
Nicolas Geoffray
c9d5bf8570 sm7250-common: Remove odex/oat files from pinner list
Change-Id: Ie42190ebb02dd898f2f4f6ae126db2b0375f5ebd
2021-10-30 18:20:44 +02:00
TheScarastic
b7ee7e9a4e sm7250-common: Switch to udfps 2021-10-30 18:20:40 +02:00
Jake Weinstein
84e9206b3a sm7250-common: Enable color mode & set display calibration on color mode settings
* sRGB on Natural and Boosted
   Unmanaged on Saturated
   P3 on Automatic

 * Set color mode to Natural by default

 * Adjust display composition color spaces

Change-Id: If73eafa82395e80acf84445fcab2f1ce25a33e23
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2021-10-10 15:55:40 +02:00
Chandra Chaganti
19d897b8d0 sm7250-common: PixelExperience Bringup 2021-10-10 15:55:13 +02:00
chandra
dc976b0c66 sm8250-common: Enable config_powerDecoupleInteractiveModeFromDisplay
* It's set to true on stock.

Change-Id: I23220f18e8376d05c769c01a289d27f658372cbc
2021-06-27 10:27:45 +02:00
Bruno Martins
eae431410f sm8250-common: overlay: Set IWLAN data service package name
Change-Id: I0f6a7531f57eaf293299b72e9ced9de70cc32477
2021-06-17 11:09:50 +02:00
LuK1337
2bf9eeee2f sm8250-common: overlay: Map out our display modes
Change-Id: I2755d5a938848d41382f1d3945f008d94eec1cbd
2021-04-27 18:49:50 +02:00
Prakash Pabba
ab3f0df0d6 sm8250-common: Add Ethernet type in network attributes
testGetAllNetworkInfo CTS test fails for instant
mode due to no ethernet type network attribute
support and selinux denial to find ETHERNET_SERVICE.

Add ethernet type network in network attributes overlay.

Change-Id: Ie70df6c0473aa1b20d383f2892d18a2f0583c7a9
2021-02-03 14:43:07 +01:00
Aalique Grahame
fbcac66dd9 sm8250-common: overlay: Add audio related features
Add audio related features present in android config
file to overlay config file.

CRs-Fixed: 2088093
Change-Id: I45f6d3ea68204ab254846726f0fe14bea91bb602
2021-02-03 14:42:31 +01:00
NAGASHREE S
ad63669730 sm8250-common: HFP: To enable the inband ringtone property
The change enables the inband ringtone
property.

CRs-Fixed: 2403633
Change-Id: Ib3e5cf66cad1afc40357f169ebfaeb762fdbf41e
2021-02-03 14:41:40 +01:00
Vineeta Srivastava
4f4ad31bd2 sm8250-common: Enable vt for this device
Bug: 27685376
Change-Id: Iecfea824c9fe7aca76fa86de6df68ed6f95bf154
2021-02-03 14:40:31 +01:00
Sunmeet Gill
8d74aa84a1 sm8250-common: Add 5G NR buffer sizes
CRs-Fixed: 2265499

Change-Id: I6d8a22721ffcbec02cb8ab8be85060f458afd4ab
2021-02-03 14:38:19 +01:00
Wang Han
24dc525881 sm8250-common: Remove obsolete tethering overlays
* These are moved into Tethering package since R but I
   cannot find any RRO for them on OOS. Remove them
   and use default values as they just work for us.

Change-Id: I45cff81e1159613094440dd7b2b73b53519c9de3
2021-02-02 14:57:40 +01:00
Kevin Chyn
d4cb76b54e sm8250-common: 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-11-23 15:10:40 +01:00
Roshan Pius
1feb73cc6a sm8250-common: 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-11-23 15:10:40 +01:00
Brad Ebinger
5952f01dbd sm8250-common: overlay: 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-11-23 15:10:40 +01:00