DivestOS/Patches/Common/android_vendor_divested/module_blocker.mk
Tad 09b38c1f04 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
2019-09-06 09:38:01 -04:00

41 lines
657 B
Makefile

include $(CLEAR_VARS)
LOCAL_MODULE := ModuleBlocker
LOCAL_OVERRIDES_PACKAGES := \
bootanimation.zip \
FlipFlap \
PhotoTable \
Terminal \
LockClock \
WeatherProvider \
bash \
curl \
htop \
powertop \
strace \
vim \
wget \
scp \
sftp \
ssh \
sshd \
sshd_config \
ssh-keygen \
start-ssh \
rsync \
su \
Stk \
libdrmclearkeyplugin \
libclearkeycasplugin \
CtsShimPrebuilt \
CtsShimPrivPrebuilt \
Traceur \
PrintRecommendationService \
CompanionDeviceManager \
MusicFX
# drmserver \
# libfwdlockengine \
include $(BUILD_PREBUILT)