sm8450 and above have a very annoying SMS receiving bug where for some
carriers it won't work after a device restart if QTI telephony injection
isn't available, but one of the workarounds is to either use airplane
mode toggle or eject the sim card and reinsert it
Instead of doing that? Let's try and automate disabling and enabling the
sim card
EDIT: Some sm6375 devices have this problem too.
Co-authored-by: Marc Bourgoin <themard85@gmail.com>
Change-Id: I76732c2a668ff179e32050aee4abe315de3d9357
* Drop all old rules, but keep tri-state-key.
* Also introduce dashd/wlchgd domain as they are needed for seclabels.
Change-Id: I0a7121f51d106d927866aead746a49b3dea6a149
* Since we aren't including device/qcom/sepolicy/.../vendor,
/dev/dri/card0 is labeled as u:object_r:device:s0 thus
recovery running in -user mode has no access to it.
Change-Id: Ie0b4b9ba04f85de9250e50d070940f0ea84335e8
device/lineage/sepolicy now also covers the system variant of the trust
HAL, so we must remove the respective definitions to not create
duplicate labels.
Change-Id: I4e8642072bde3c17f91688cfd8c91ac9db9dcaf7
* OnePlus's OTG switch sysfs doesn't act the same as
'deny_new_usb' node breaking OTG entirely in some
situations.
Change-Id: I4f67d5cec5ded72ee835bfed9d34407eba1612d1
* /data/display does not exist and we are unable to allow
writing to /data/system since it's a neverallow. Instead
we are creating /data/misc/display which coredomain is
allowed to write to.
Change-Id: I1198c61177b75fd2ad460aafab5f2d5010b2ca63
Move DisplayModeControl and SunlightEnhancement into a livedisplay
service, and TouchscreenGestures into a touch one.
Change-Id: I5f46671633a13ddc6733a47f4ea5a6515d6d6c98
* Based off android_device_oneplus_msm8998-common pocketmode
app but without fpc10xx support and using actual OnePlus
pocketmode sensor.
Change-Id: I73eaf7e00afd08cdad71d323b6821eb8a0160cd2