Commit Graph

62 Commits

Author SHA1 Message Date
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
Subhajeet Muhuri
ae433b889f sm8250-common: overlay: Update pinner list for new SystemUI location
Change-Id: I93c1a4b73ca1f03ca0fcf9cbe4ce1b057a739ca6
2020-11-23 15:10:40 +01:00
Nicolas Geoffray
7402069314 sm8250-common: overlay: Update in pinned files.
Remove or update paths that don't exist.

Bug: 119800099
Test: boots
Change-Id: Ib2cea88499cf08274d620d9d85ffcafc31fee868
2020-11-23 15:10:40 +01:00
LuK1337
37f2c91f18 Revert "sm8250-common: Enable automatic refresh rate switching"
This reverts commit 39681af7fa9800196fa038a4fdc074257e7d86d0.
2020-06-27 00:17:27 +02:00
Park Ju Hyung
d7edaddf86 sm8250-common: Enable automatic refresh rate switching
Change-Id: I67d727cb1630c5ea6a3d5db2d9abdbe6e8453079
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
2020-06-27 00:17:13 +02:00
Luca Stefani
1cfaa070ec sdm845-common: Enable IWLAN assisted mode
Change-Id: I9bf9a4a2bc36867dd87ae43652bb5ebb84cc9bc3
2019-12-20 16:05:35 +01:00
LuK1337
6acb239dd7 sdm845-common: Update MAC randomization overlay location
Change-Id: Ib33d6f965019b5fbbaac9f0ee931f89addfc704d
2019-11-19 12:34:40 +01:00
Luca Stefani
596bd97aa0 sdm845-common: Update pinner files for Q
Change-Id: I46c9b23d9c01ab9c56edee1363ac7a5e331f7788
2019-09-13 12:18:02 +02:00
LuK1337
983f553701 sdm845-common: overlay: Move rounded corner content padding to devices
Change-Id: Ib6ef258476231e20de162f189ae8a09984d1233f
2019-02-03 15:43:43 +01:00
LuK1337
8118403a3d sdm845-common: Move all notification LEDs related overlays to enchilada
Change-Id: I4dc08345f1c2d459c0b28c5ee640f6834fe5cfd8
2019-02-03 15:43:34 +01:00
Luca Stefani
3b6d63af37 sdm845-common: Enable AOD
* But disable it by default

Change-Id: Ie85e49e38503dc531f262138d8bed465632a41c0
2019-01-12 21:11:10 +01:00
Bruno Martins
9966bf13b1 sdm845-common: Declare STATE_DOZE support
* This is required for Ambient Display to work properly.

Change-Id: Ibad86be4e1c43a221fc2224d0a8f8ca2c938a6c7
2019-01-07 13:41:45 +01:00
Erik Kline
80539d3208 sdm845-common: Use tether automatic upstream selection
(config_tether_upstream_automatic=true)

Test: as follows
    - built, flashed, booted
Bug: 32163131
Bug: 62648872
Bug: 63282480
Bug: 110118584
Bug: 110260419

Change-Id: I604cda53d6d37a33de3e3ccc65c0da781d21278b
2018-11-13 22:15:45 +01:00
Jorim Jaggi
b24594c0d7 sdm845-common: Pin HOME application
Test: adb shell dumpsys pinner after boot
Bug: 111132016
Bug: 78585335
Change-Id: I4ed0587ae5348bbe03ad9ac5f1c5b1726dbb8246
2018-11-13 22:15:34 +01:00