Commit graph

175 commits

Author SHA1 Message Date
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
Demon Singur
d76a0057be whyred: light: simplify notificationStates loop
Change-Id: If9e5f7b35f33fa0c5ee394b0edc542be6dd2aaea
2018-06-25 21:14:01 +05:30
Demon Singur
a7654d5325 whyred: turn light hal into a hidl service
* Dropped low persistence mode which is only used for VR,
  which we are not shipping

Change-Id: I4fa56abd38c04d8fa267dbab67e54fe4a617bfe1
2018-06-25 21:13:46 +05:30
Demon Singur
e42c7c1626 whyred: include all blueprint modules
Change-Id: Iaf3d59fe173cf0b424409c546854841e4da082a1
2018-06-25 21:13:32 +05:30
codeworkx
b9617da8a3 whyred: add vndk sp libs
Change-Id: If6eeb32084e72cb0d773b666921d6de7c9187392
2018-06-25 21:13:19 +05:30
Vasishath Kaushal
d00091ee39 whyred: Import fingerprint file attrs from miui ramdisk. 2018-06-25 21:03:34 +05:30
Vasishath Kaushal
464157cfd0 whyred: Goodix fp hal is present as fingerprint.default.so
So load it directly and specify class as fpc for fpc hal.
2018-06-25 21:03:34 +05:30
Vasishath Kaushal
1f37c1a0ad whyred: Adapt fingerprint HAL for sdm660 2018-06-25 21:03:34 +05:30
Demon Singur
8f5f462ede whyred: rootdir: further cleanup
* place sections in their order of execution
 * move charger to init.target.rc because all the services
   it starts are already there
 * move fingerprint rules to ueventd and merge sections where
   possible
 * remove unused ueventd rules

Change-Id: Ic5ef5e976f1cbd5143fb51fc5dc713295a7084b9
2018-06-25 21:03:19 +05:30
Demon Singur
2a74a5d950 whyred: turn fingerprint wrapper intro a hidl service
Change-Id: Ib72892417d401947aeb3935ef0f018c3b5daf94b
2018-06-25 21:03:05 +05:30
Demon Singur
f677ac9187 whyred: Cleanup fingerprint wrapper logic
Change-Id: I036f8d766378cbfc006cdefdd32ec48e65540dd2
2018-06-25 21:02:54 +05:30
Christopher R. Palmer
29fa5da482 whyred: fingerprint: Load goodix HAL if loading the fpc HAL fails
Change-Id: I5d45d1c655e69c34de16e6813eee80b07d30dda9
2018-06-25 21:02:37 +05:30
Christopher R. Palmer
fd644c012f whyred: Add a dummy fingerprint wrapper HAL
All this does is delegate all the requests to the real HAL.

Change-Id: Ie45ae24448fb989c45bba10f12128d20b71e1d34
2018-06-25 21:02:26 +05:30
Vasishath Kaushal
f436c24292 whyred: Adapt init for whyred 2018-06-25 21:02:24 +05:30
Michael Bestas
29bd4e0aff whyred: init: Cleanup and fix code style
Change-Id: Ice339617a0fb4555b5f37f42084ceaf98535bd24
2018-06-25 21:02:13 +05:30
LuK1337
1b147f98cf whyred: init: Update extension to work with 8.1
Change-Id: I9c8bd6fce94739e08cdfc9cf9b2b2761bbe4bcfd
2018-06-25 21:02:03 +05:30
Luca Stefani
fc87661af3 whyred: init: Update for O
Change-Id: I635dc8d27f92f9a2fa83da62c2f32e48bd2c7680
2018-06-25 21:01:52 +05:30
Michael Bestas
4ef7e054d5 whyred: init: Check if power off alarm is set
Check if power off alarm is set, then set alarm's properties

Adapted from Mao Jinlong <c_jmao@codeaurora.org> patch in init.qcom.early_boot.sh

Change-Id: Ib86584d1c09aba07c47435ac8bed39aac79a80f7
2018-06-25 21:01:39 +05:30
Zhao Wei Liew
be7adfd2ba whyred: init: Check reboot_reason when setting alarm_boot prop
This was missed out from init.qcom.early_boot.sh.

Change-Id: Iab5b0d7782a53b97315d2aa9d0c301ed7725e01d
2018-06-25 21:01:23 +05:30
Bruno Martins
f0a53c0a73 whyred: init: Use core init function to read from files
Change-Id: I3fd23490bcdfa4097dad73161ad226337e93cd18
2018-06-25 21:01:07 +05:30
Demon000
2f8047ea5d init: remove unused variables 2018-06-25 21:01:06 +05:30
xiaobai
1ed02da2c5 whyred: remove unused dalvik heap config 2018-06-25 21:00:47 +05:30
Vasishath Kaushal
d2b64dd578 whyred: add init library 2018-06-25 21:00:22 +05:30
Vasishath Kaushal
0d9f5ad19c overlay: Configure fingerprint sensor location 2018-06-25 21:00:20 +05:30
Vasishath Kaushal
7fb33b0225 overlay: Add LCD brightness values
Also enable suspend after screen off due to proximity
2018-06-25 21:00:20 +05:30
Vasishath Kaushal
af3342e2d6 whyred: Add initial overlays 2018-06-25 21:00:20 +05:30