forked from LineageOS/android_device_oneplus_sdm845-common
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sdm845-common: Replace lineagehw implementation by HIDL services
Move DisplayModeControl and SunlightEnhancement into a livedisplay service, and TouchscreenGestures into a touch one. Change-Id: I5f46671633a13ddc6733a47f4ea5a6515d6d6c98
- Loading branch information
1 parent
eaa9bbc
commit e3ee15e
Showing
29 changed files
with
702 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
subdirs = [ | ||
"lights", | ||
"livedisplay", | ||
"touch", | ||
"tri-state-key" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,6 +88,10 @@ PRODUCT_COPY_FILES += \ | |
PRODUCT_PACKAGES += \ | ||
[email protected]_sdm845 | ||
|
||
# LiveDisplay | ||
PRODUCT_PACKAGES += \ | ||
[email protected]_sdm845 | ||
|
||
# Media | ||
PRODUCT_COPY_FILES += \ | ||
$(LOCAL_PATH)/configs/media_profiles_vendor.xml:system/etc/media_profiles_vendor.xml | ||
|
@@ -113,6 +117,10 @@ PRODUCT_PACKAGES += \ | |
PRODUCT_BOOT_JARS += \ | ||
telephony-ext | ||
|
||
# Touch | ||
PRODUCT_PACKAGES += \ | ||
[email protected]_sdm845 | ||
|
||
# tri-state-key | ||
PRODUCT_PACKAGES += \ | ||
KeyHandler \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<manifest version="1.0" type="framework"> | ||
<hal format="hidl"> | ||
<name>vendor.lineage.livedisplay</name> | ||
<transport>hwbinder</transport> | ||
<version>2.0</version> | ||
<interface> | ||
<name>IDisplayModes</name> | ||
<instance>default</instance> | ||
</interface> | ||
<interface> | ||
<name>ISunlightEnhancement</name> | ||
<instance>default</instance> | ||
</interface> | ||
</hal> | ||
<hal format="hidl"> | ||
<name>vendor.lineage.touch</name> | ||
<transport>hwbinder</transport> | ||
<version>1.0</version> | ||
<interface> | ||
<name>ITouchscreenGesture</name> | ||
<instance>default</instance> | ||
</interface> | ||
</hal> | ||
</manifest> |
110 changes: 0 additions & 110 deletions
110
lineagehw/src/org/lineageos/hardware/DisplayModeControl.java
This file was deleted.
Oops, something went wrong.
86 changes: 0 additions & 86 deletions
86
lineagehw/src/org/lineageos/hardware/SunlightEnhancement.java
This file was deleted.
Oops, something went wrong.
119 changes: 0 additions & 119 deletions
119
lineagehw/src/org/lineageos/hardware/TouchscreenGestures.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
BasedOnStyle: Google | ||
AccessModifierOffset: -2 | ||
AllowShortFunctionsOnASingleLine: Inline | ||
ColumnLimit: 100 | ||
CommentPragmas: NOLINT:.* | ||
DerivePointerAlignment: false | ||
IndentWidth: 4 | ||
PointerAlignment: Left | ||
TabWidth: 4 | ||
UseTab: Never | ||
PenaltyExcessCharacter: 32 |
Oops, something went wrong.