mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-08-09 06:42:29 -04:00
marlin/sailfish: fix MediaProvider using 100% CPU
- by disabling mtp over functionfs - affects both GrapheneOS and LineageOS - might need to be applied to other devices [pid 2482] ppoll([{fd=42, events=POLLIN}, {fd=51, events=POLLIN}], 2, {tv_sec=0, tv_nsec=0}, NULL, 0) = 0 (Timeout) lrwx------ 1 u0_a13 u0_a13 64 2019-09-05 18:47 42 -> /dev/usb-ffs/mtp/ep0 lrwx------ 1 u0_a13 u0_a13 64 2019-09-05 18:47 51 -> anon_inode:[eventfd] https://forum.xda-developers.com/android/help/pixel2-help-diagnose-android-process-t3863274 https://bugs.chromium.org/p/chromium/issues/detail?id=947901
This commit is contained in:
parent
1a7291aa36
commit
09b38c1f04
6 changed files with 93 additions and 5 deletions
|
@ -15,8 +15,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|||
ro.config.notification_sound=Pong.ogg \
|
||||
ro.config.alarm_alert=Alarm_Buzzer.ogg \
|
||||
keyguard.no_require_sim=true \
|
||||
ro.build.selinux=1 \
|
||||
ro.storage_manager.enabled=false
|
||||
ro.build.selinux=1
|
||||
# ro.control_privapp_permissions=log
|
||||
# ro.control_privapp_permissions=enforce
|
||||
|
||||
|
@ -25,6 +24,4 @@ PRODUCT_COPY_FILES += \
|
|||
vendor/divested/prebuilts/etc/additional_fdroid_repos.xml:system/etc/org.fdroid.fdroid/additional_repos.xml
|
||||
|
||||
#Include packages
|
||||
#PRODUCT_PACKAGES += BlobBlocker
|
||||
#PRODUCT_PACKAGES += ModuleBlocker
|
||||
include vendor/divested/packages.mk
|
||||
|
|
|
@ -31,7 +31,6 @@ LOCAL_OVERRIDES_PACKAGES := \
|
|||
CtsShimPrebuilt \
|
||||
CtsShimPrivPrebuilt \
|
||||
Traceur \
|
||||
StorageManager \
|
||||
PrintRecommendationService \
|
||||
CompanionDeviceManager \
|
||||
MusicFX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue