* OnePlus's OTG switch sysfs doesn't act the same as
'deny_new_usb' node breaking OTG entirely in some
situations.
Change-Id: I4f67d5cec5ded72ee835bfed9d34407eba1612d1
* Call DisplayModes::setDisplayMode(modeID, false) in the constructor
* Move sysfs nodes chown/chmod to from 'on boot' to on init' so that
they have proper perms right away.
Change-Id: I51ee19136688f83703e85b76d5219e5a567bbaa3
* /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
* Sadly, out-of-the-box Miracast support was killed in P, so
we need this to keep Wi-Fi display feature working.
* Additionally libwfdnative has been modified to load
libhidlbase.so instead of android.hidl.base@1.0.so using
following command:
sed -i 's/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/' proprietary/lib64/libwfdnative.so proprietary/lib/libwfdnative.so
Change-Id: Id680d918b64c0e3733251db45992ec477b6fbdfb
* This introduces fixup scripts and kang mode and fixes
passing of arguments longer than one word,
such as --section "Hello world".
Change-Id: I42dde659e9bea4f7e1c9a7a3fa8da3243774ca4e
We support IMS features on carriers not listed in the CarrierConfig,
so let's use the props to enable it everywhere.
Change-Id: Id3ad71d522a22048f7ad86d89695ad262361632d
Move DisplayModeControl and SunlightEnhancement into a livedisplay
service, and TouchscreenGestures into a touch one.
Change-Id: I5f46671633a13ddc6733a47f4ea5a6515d6d6c98
* There's no need to manually write to the gestures prefs
as long we are sure the handler is run after we return true
in the onPreferenceChangeListner
Change-Id: I090c0c6c91267aff69c45365b95b5f5e26d07b07
* This makes the always on display mode feature visible for those
devices that explicitly set it as available via AOSP overlay.
Should only be enabled on devices where the display has been tuned
to be power efficient in DOZE and/or DOZE_SUSPEND states.
Change-Id: If543936f9421dd7a6c0be594f7cb76afb227e34b
Using the wall clock will cause boosts to be disabled
when/if the clock is adjusted backward.
Bug: 29191415
Bug: 29208304
Change-Id: I8af5f40b46d996ce7bccb8324fc186e2f3a5b267
* MP-CTL does not handle POWER_HINT_INTERACTION and POWER_HINT_LAUNCH
directly. Requests for processing are sent by Qualcomm BoostFramework
(QPerformance) at the framework service level. Since we do not have
BoostFramework, process POWER_HINT_INTERACTION and POWER_HINT_LAUNCH
in PowerHAL to ensure a sufficient level of performance.
* For proper operation, perfboostsconfig.xml file is required.
Change-Id: I9fedcbaa189147c91d932711c831c2ce038a7ec7