Commit Graph

335 Commits

Author SHA1 Message Date
Vachounet
9b5b7fc89e sanders: update 64bits flags 2017-11-23 10:51:24 -02:00
Vachounet
6ebc943511 sanders: initial commit for 64bits support 2017-11-23 10:47:59 -02:00
jhenrique09
df31b1f81e sanders: Uncomment proximity overlays 2017-11-15 14:15:13 -02:00
Luca Stefani
ce90f35b64 init: Use proper seclabel for charger service
* Partically taken from angler f2f207d2594b
2017-11-15 14:15:13 -02:00
jhenrique09
9b0ed5a8a3 sanders: sepolicy: Initial fixes 2017-11-15 14:15:13 -02:00
jhenrique09
89df59f4ce sanders: Enable sepolicy 2017-11-15 14:15:13 -02:00
jhenrique09
601a90f567 sanders: rootdir: Restore some services 2017-11-15 14:15:13 -02:00
jhenrique09
b4dcd4d248 sanders: NFC: Use TagGoogle when available 2017-11-15 14:15:13 -02:00
jhenrique09
51644ac52a sanders: Use all cores for dex2oat 2017-11-15 14:15:13 -02:00
Adarsh-MR
8226c77af2 sanders: overlay: Enable Wireless FM
Signed-off-by: Adarsh-MR <adarshmr1998@gmail.com>
2017-11-15 14:15:13 -02:00
jhenrique09
1cbbc110f1 sanders: system.prop: Enable aptX bt codec 2017-11-14 12:48:28 -02:00
jhenrique09
80b69dac8b sanders: Remove soundtrigger and DS2_DOLBY_DAP
potter doesn't have on stock rom

11-12 00:57:45.084   791   791 E soundtrigger: audio_extn_sound_trigger_init: DLOPEN failed for /vendor/lib/hw/sound_trigger.primary.msm8953.so. error = dlopen failed: library "/vendor/lib/hw/sound_trigger.primary.msm8953.so" not found

11-12 00:57:45.075   791   791 E audio_hw_dolby: audio_extn_dap_hal_init: DLOPEN failed for vendor/lib/libhwdaphal.so error dlopen failed: library "vendor/lib/libhwdaphal.so" not found
2017-11-14 12:48:28 -02:00
FireLord1
84ed2378bc sanders: Prevent permission denied error for telephony
Change-Id: I8b23f9ccd5950fa31f748d6fe86b46ea4f3c6b6d
Signed-off-by: FireLord1 <firelord.xda@gmail.com>
2017-11-14 12:48:28 -02:00
Artem Borisov
83676e4c0e sanders: Use 64-bit binder API
AOSP and mainline are going towards removing old 32-bit binder API support.
64-bit binder is 100% compatible with 32-bit kernel and userspace,
so there is no reason for us to keep using the old solution anymore.
We've switched to new API in our kernel, same thing should be applied to our userspace.
2017-11-14 12:48:28 -02:00
Alberto97
1af52a897a sanders: Switch to oem_xxxx AIDs 2017-11-14 12:48:28 -02:00
Alberto97
7f34a5044e sanders: Switch to TARGET_FS_CONFIG_GEN for fs_config
* On Oreo, android_filesystem_config is generated by a python script
   that provides a nice way to add AIDs without overriding any header.
 * Switch AID values from 9xxx to 5xxx since accepted ranges
   for OEMs are only 5000-5999 and 2900-2999
 * Remove fs_config_files since it is already in embedded.mk
2017-11-14 12:48:28 -02:00
jhenrique09
6906ef95aa sanders: Build hidl DRM service and add to the manifest 2017-11-14 12:48:27 -02:00
jhenrique09
185eebf4b4 sanders: Remove powerhal from here
Change-Id: I8d8d74ab9b2fa825d6e430c9528ce349dbf85335
2017-11-14 00:53:30 -02:00
therootlord
ac8b254d9f sanders: Use charging animation from stock 2017-11-09 23:46:25 -02:00
Prema Chand Alugu
1975bad19d sanders: LineageActions: Remove Settings search indexing for ScreenOff
gestures
2017-11-09 17:53:57 -02:00
jhenrique09
044b251742 sanders: KeyHandler: Remove notification manager references 2017-11-09 17:53:57 -02:00
jhenrique09
98f75e2ef0 sanders: KeyHandler: Vibration improvements 2017-11-09 17:53:57 -02:00
jhenrique09
958100cd8c sanders: KeyHandler: Optimize registerTorchCallback 2017-11-09 17:53:57 -02:00
jhenrique09
d72b752882 sanders: KeyHandler: Don't allow multiple calls for fp gestures 2017-11-09 17:53:57 -02:00
jhenrique09
596f5e602d sanders: LineageActions: Register torch callback on chop-chop action 2017-11-09 17:53:57 -02:00
Roman Birg
6fbc28026a sanders: LineageActions: add Settings search indexing
Allows Settings to search for options provided by this package.

Signed-off-by: Roman Birg <roman@cyngn.com>
Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
2017-11-09 17:53:57 -02:00
Alberto97
6da473545a LineageActions: Remove ACCESS_NOTIFICATION_POLICY check
* It is granted at first boot and users cannot revoke
   the permission of a system app anymore since Nougat

Change-Id: Ie736c1620420a51d40062de1f809c78a11741781
2017-11-09 17:53:57 -02:00
Alberto97
28bec6a977 sanders: ProximitySilencer: Fix debug message
* As per documentation, TYPE_PROXIMITY has a single item in values for distance
 * The current code triggers an ArrayIndexOutOfBoundsException on O

Change-Id: I371cdb755d39c413d3ae2313fe66ae5bc62a7b58
2017-11-09 17:53:56 -02:00
therootlord
c2dd3c055e sanders: fix partition size 2017-10-30 00:30:39 -02:00
therootlord
d6912a73d1 sanders: change to custom toolchain for building kernel 2017-10-29 02:44:10 -02:00
Prema Chand Alugu
db1f82e5d9 sanders: Remove ScreenOff gestures
* We do not support wake gestures
* Remove the screen off gestures from Actions, Handler
2017-10-29 02:28:54 -02:00
Henrique Silva
18859c1826 sanders: KeyHandler: Add last app action 2017-10-29 02:28:54 -02:00
jhenrique09
290dd03777 sanders: KeyHandler: Fix haptic on power action 2017-10-29 02:28:54 -02:00
jhenrique09
e2e32dc9f7 sanders: KeyHandler: Cleanup code 2017-10-29 02:28:54 -02:00
jhenrique09
4dcaffafbf sanders: KeyHandler: Increase delay a bit more to fix injectInputEvent 2017-10-29 02:28:54 -02:00
jhenrique09
c846e096a6 sanders: KeyHandler: Fix haptic on assistant 2017-10-29 02:28:54 -02:00
jhenrique09
7117e8793f sanders: LineageActions: Show back button on main activity 2017-10-29 02:28:54 -02:00
jhenrique09
0f203454fd sanders: LineageActions: Adjust fp screen off preference on layout 2017-10-29 02:28:54 -02:00
jhenrique09
2f00327572 sanders: LineageActions: Fix build 2017-10-29 02:28:53 -02:00
jhenrique09
7103ea1f4d sanders: Overlay fixes 2017-10-29 02:28:40 -02:00
AdrianDC
da5bdbbaca sanders: LineageActions: Upgrade to Oreo Settings UI
* Attach to appropriate Settings pages
 * Hide divider lines to match Settings UI styles
 * Apply On/Off text on the switch bar toggle
 * Implement AOSP Settings preference layouts for indentation

 * Depends on android_packages_resources_devicesettings:
    "DeviceSettings: Import Oreo Settings layouts"
    Ib3f670b19c7e728b97fd76efe04bcc2f69008b06

 * Partially based upon commit "Bring DozeSettings up to date"
    I0850f7d9558a14f739f752f76002db993381a0e5 by Steve Kondik
    for the SwitchBar integration but using native themes

Change-Id: Ic5b8335aafc9ce876ed90a25045398e39515e484
Signed-off-by: Adrian DC <radian.dc@gmail.com>
Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
2017-10-29 02:16:59 -02:00
jhenrique09
c0c11cd323 sanders: [SQUASHED] Refactor LineageActions and implement keyhandler
This adds support for FP and screen off gestures

Originally implemented in DU-MOD by @jhenrique09
Adapted to Oreo by @gregor160300 and @jhenrique09
2017-10-29 02:16:59 -02:00
Alberto97
2741c07f99 sanders: Apply more LineageOS rebrand
* CMActions: Move to Lineage SDK

* CMActions -> LineageActions
Since history is going to be killed anyway:
 * Move related stuff under "actions" or "doze" packages, make every class role clear
 * Rename misleading TouchscreenGesture* to Actions*

Also add original-package for preferences migration

Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
(cherry picked from commit 99c39df834c26edfc066e8ad2088a55e5a858166)
2017-10-29 02:16:59 -02:00
Rashed97
53cefaef0a sanders: Move Lineage specific overlays to overlay-lineage 2017-10-29 02:16:59 -02:00
jhenrique09
f8de107033 sanders: Drop CMHW for now 2017-10-29 02:16:59 -02:00
Prema Chand Alugu
e5fa3448df sanders: Keep default notification light color Blue 2017-10-29 02:10:59 -02:00
Prema Chand Alugu
4cb0bfab14 sanders: Multicolor notify LED overlays 2017-10-29 02:09:11 -02:00
Prema Chand Alugu
4f2cada737 sanders: Enable more LED overlays 2017-10-29 02:08:02 -02:00
therootlord
e1ee2862e5 sanders: BoardConfig: correct partition sizes 2017-10-28 21:36:05 -02:00
therootlord
2b81e44c45 sanders: media: switch to vendor props
Change-Id: I3b664ad56e2f351b225e423de4d0fc5cd2ab1ef2
2017-10-21 11:58:26 -02:00