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
shahan-mik3
a125f1b0a6
whyred: Add new chromatix libs from miui 8.7.5
...
Change-Id: Ib940b2495d036455707724beb0be0b505b44736c
2018-07-09 15:37:20 +05:30
Vasishath Kaushal
ffda77dfb1
whyred: Update to 8.7.5 global beta blobs
...
Change-Id: I2a228d88a10af5f3e5846ea65fc9b2865687e8a2
2018-07-09 15:37:08 +05:30
Vasishath Kaushal
997b8299bf
whyred: Remove AOSP bluetooth HIDL HAL
...
We use QTI bluetooth
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
eb50944fda
whyred: sepolicy: Allow radio to access ims blobs
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
1e17dd09d4
whyred: Use sdfat driver for exFAT
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
13aaf4d446
whyred: Address ANT+ denials
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
67ed696554
whyred: Remove all wayne camera libs
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
b141e92bc8
whyred: Change ANT device name to qualcomm-hidl
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
9ca1f68c15
whyred: Use HIDL prebuilt libantradio
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
653bb5fcb1
whyred: Switch to builtin qcacld driver
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
c9c35d83a7
whyred: Allow power HAL to access tap to wake node
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
0d7c82543a
whyred: Address keylayout denials
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
0520d2ed1f
whyred: Address graphics composer HAL denials
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
17538ad9f2
sepolicy: Fix fingerprint hal denials
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
cbb745f1c4
whyred: Enable forceencrypt
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
db07e88f4b
whyred: Update build fingerprint
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
c3edaaaade
whyred: Add vendor security patch date for lineage Trust
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
2db9e093ec
whyred: Shift properties to vendor.prop
2018-06-28 20:08:03 +05:30
guaiyihu
1847d49843
whyred: keylayout: Map Button Jack keylayout to fix headset button controls
...
* input: sdm660-snd-card Button Jack as /devices/soc/soc:sound/sound/card0/input8
Change-Id: I26b4f9dd54856e4b43b9c79c81873641c7b7082b
2018-06-28 20:08:03 +05:30
Shahan-mik3
291726a09d
whyred: Update blobs list to miui 9.5.11.0
2018-06-28 20:08:03 +05:30
Shahan-mik3
33f0cc8e9c
whyred: Update copyright year throughout the tree
2018-06-28 20:08:03 +05:30
Rashed Abdel-Tawab
f0c3089f55
whyred: Build a system version of android.hidl.base@1.0 for imsvt
...
Change-Id: Icb911f414595117a28fb764e145fbbf6a7ee0787
2018-06-28 20:08:03 +05:30
Shahan-mik3
3f85b2c165
whyred: Add QC_TIME_SERVICES flag
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
c79a95ec90
whyred: Add QCOM connectivity engine support (CNE)
2018-06-28 20:08:03 +05:30
Shahan-mik3
fa71b69950
whyred: Specify ANT device name
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
7a10a71438
whyred: Compile overlay as RRO
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
b36bd8d5db
whyred: Add support for ANT
2018-06-28 20:08:03 +05:30
Vasishath Kaushal
fda8d8c9fa
whyred: Init sepolicy
...
Thanks to @GuaiYiHu
2018-06-28 20:08:03 +05:30
Shahan-mik3
66248d8402
whyred: Add proprietary-files list and extraction scripts
2018-06-28 20:08:02 +05:30
Shahan-mik3
fd0f28e163
whyred: Add lineage dependencies
2018-06-28 20:08:02 +05:30
Shahan-mik3
f6292052a4
whyred: Add consumerir permission
2018-06-28 20:08:02 +05:30
Vasishath Kaushal
843e4bb3ae
whyred: Enable FM support
2018-06-28 20:08:02 +05:30
Vasishath Kaushal
5818dfde4c
whyred: Enable dex preopt
2018-06-28 20:08:02 +05:30
Vasishath Kaushal
46322cae4b
whyred: Enable caf variant for RIL
2018-06-28 20:08:02 +05:30
Vasishath Kaushal
4cd324da94
whyred: Enable charger suspend flag
2018-06-28 20:08:02 +05:30
Shahan-mik3
5a8af2f014
whyred: Enable QTI camera flags
2018-06-28 20:08:02 +05:30
Shahan-mik3
ae796f12df
whyred: Add bluetooth support
2018-06-25 21:15:58 +05:30
Shahan-mik3
e9d3970d59
whyred: Add symlinks for wifi HAL, RFS, slpi and IMS
2018-06-25 21:15:58 +05:30
Shahan-mik3
157bb51dd4
whyred: Import system.prop and vendor.prop from miui
2018-06-25 21:15:58 +05:30
Bruno Martins
700ccf86f6
whyred: Doze: Minor code simplification and clean up
...
Change-Id: Idff05f2626138c96dccd3ab4c26c4df1be40a606
2018-06-25 21:15:45 +05:30
Bruno Martins
c1cfc3152b
whyred: Doze: Build with AAPT2
...
Change-Id: Iab14804817e6b90bf4d773d9359a04f1e119264a
2018-06-25 21:15:33 +05:30
Bruno Martins
390020d0b2
whyred: Doze: Re-integrate into Settings
...
* Apply the default Oreo theme and inherit the layouts
from Google for the Settings app, in order to keep
UI consistency.
* Get rid of SettingsDrawerActivity as it no longer fits in
and include the back button in the action bar.
* Kill the icon drawable not only because is a leftover,
but also doesn't really serve any puropose in the new UI.
Change-Id: I53b6d3bb99d63852ba34d71e16ae99f05223569e
2018-06-25 21:15:15 +05:30
Bruno Martins
6d733eaae1
whyred: Doze: Apply LineageOS rebrand
...
Change-Id: I4daa1092494fdf207ef54dc79f787bcbe1d01a08
2018-06-25 21:15:00 +05:30
Álvaro Brey
55a8e721f2
modules: doze: Fix devicesettings path
...
* Was broken when moved to modules, since it iss a relative path
Change-Id: I7d934e7cfeccdc4bcaaf917de1316e81b34ae220
2018-06-25 21:14:58 +05:30
xiaobai
d02b8b9943
whyred: import doze from mi5
2018-06-25 21:14:49 +05:30
Vasishath Kaushal
abcab1e2cd
lights: We have only single color led.
...
Also add additional steps to duty cycle to make notif light fade
smoother.
Also detect maximum brightness dynamically
2018-06-25 21:14:46 +05:30
Vasishath Kaushal
b9eb4bc24c
lights: Adapt for sdm660
2018-06-25 21:14:46 +05:30
Michael Bestas
44aa3a9119
whyred: light: Minor cleanup
...
Change-Id: I42215a38ea3f98d5e202308bc80fab672ed8d776
2018-06-25 21:14:35 +05:30
Demon Singur
ac9beafcbc
whyred: light: update state after notification is handled
...
Change-Id: Ic36b112c58316da802a6dfd011cbd25a0e842eef
2018-06-25 21:14:29 +05:30