Xiaomi Redmi Note 5 (whyred) profile for LineageOS
Find a file
ezio84 34b53614b3 whyred: doze: use ExecutorService for listener registration
Replicate what Google did for SystemUI in this commit.
fabc743bcf

Registering a sensor seems to be an expensive operation,
and we do it on each screen-on event, so moving it to
an asynchronous task looks like a good idea anyway.

By moving all non-essential binder calls of the main thread or to the
next frame, we bring this down to 5ms, such that window animation
and Keyguard animation starts about at the same time.

The interesting part about the ExecutorService:
"Memory consistency effects: Actions in a thread prior to the submission
of a Runnable or Callable task to an ExecutorService happen-before any
actions taken by that task, which in turn happen-before the result is
retrieved via Future.get()."
(from https://developer.android.com/reference/java/util/concurrent/ExecutorService)

Change-Id: I4f37bb9a7dc9d7775d587d4ebd4b6619f3b77e81
2018-07-09 15:37:26 +05:30
bluetooth whyred: Update copyright year throughout the tree 2018-06-28 20:08:03 +05:30
configs whyred: keylayout: Map Button Jack keylayout to fix headset button controls 2018-06-28 20:08:03 +05:30
data-ipa-cfg-mgr whyred: Import data-ipa-cfg from LA.UM.6.2.r2-03600-sdm660.0 2018-06-24 15:02:19 +05:30
doze whyred: doze: use ExecutorService for listener registration 2018-07-09 15:37:26 +05:30
fingerprint whyred: Import fingerprint file attrs from miui ramdisk. 2018-06-25 21:03:34 +05:30
gps whyred: Import gps from LA.UM.6.2.r2-03600-sdm660.0 2018-06-18 22:21:31 +05:30
init whyred: Update copyright year throughout the tree 2018-06-28 20:08:03 +05:30
libhidl whyred: Update copyright year throughout the tree 2018-06-28 20:08:03 +05:30
light lights: We have only single color led. 2018-06-25 21:14:46 +05:30
overlay overlay: Configure fingerprint sensor location 2018-06-25 21:00:20 +05:30
overlay-lineage/lineage-sdk/lineage/res/res/values whyred: Update copyright year throughout the tree 2018-06-28 20:08:03 +05:30
rootdir whyred: Switch to builtin qcacld driver 2018-06-28 20:08:03 +05:30
seccomp whyred: Import seccomp policy from miui 2018-06-18 22:18:19 +05:30
sepolicy whyred: sepolicy: Allow radio to access ims blobs 2018-06-28 20:08:03 +05:30
vndk whyred: add vndk sp libs 2018-06-25 21:13:19 +05:30
Android.bp whyred: include all blueprint modules 2018-06-25 21:13:32 +05:30
Android.mk whyred: Update copyright year throughout the tree 2018-06-28 20:08:03 +05:30
BoardConfig.mk whyred: Use sdfat driver for exFAT 2018-06-28 20:08:03 +05:30
compatibility_matrix.xml whyred: Import manifest and compatibility_matrix from miui 2018-06-18 22:21:33 +05:30
config.fs whyred: Import config.fs from qcom common 2018-06-23 19:18:25 +05:30
device.mk whyred: Use HIDL prebuilt libantradio 2018-06-28 20:08:03 +05:30
extract-files.sh whyred: Update copyright year throughout the tree 2018-06-28 20:08:03 +05:30
lineage.dependencies whyred: Add lineage dependencies 2018-06-28 20:08:02 +05:30
lineage.mk whyred: Update build fingerprint 2018-06-28 20:08:03 +05:30
manifest.xml whyred: Import manifest and compatibility_matrix from miui 2018-06-18 22:21:33 +05:30
proprietary-files.txt whyred: Add new chromatix libs from miui 8.7.5 2018-07-09 15:37:20 +05:30
recovery.fstab whyred: Add recovery configuration 2018-06-18 22:13:15 +05:30
setup-makefiles.sh whyred: Update copyright year throughout the tree 2018-06-28 20:08:03 +05:30
system.prop whyred: Add vendor security patch date for lineage Trust 2018-06-28 20:08:03 +05:30
treble.mk whyred: Remove AOSP bluetooth HIDL HAL 2018-06-28 20:08:03 +05:30
vendor.prop whyred: Shift properties to vendor.prop 2018-06-28 20:08:03 +05:30