-
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.
* Lets use the common solution, and change our supported interfaces while we're at it: * Our panel (by default) uses AOSP color profiles. * Our panel does get along with Color Calibration & Reading Mode, which are done SDK side, and require no HIDL manifest entries. * Our panel does get along with Picture Adjustment features, so leave IPictureAdjustment in place. * Our panel does get along with Adaptive Backlight features, so leave IAdaptiveBacklight in place. * AOSP declares `ro.vendor.display.foss` but we don't have support for IAdaptiveBacklight, so don't declare. Change-Id: Ia96134e0a4bb06269b48671a87991d5e7a53d9ed
- Loading branch information
1 parent
1515f3e
commit e5f633e
Showing
6 changed files
with
47 additions
and
0 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
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 |
---|---|---|
|
@@ -16,6 +16,10 @@ PRODUCT_SOONG_NAMESPACES += \ | |
PRODUCT_COPY_FILES += \ | ||
frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.euicc.xml | ||
|
||
# LiveDisplay | ||
PRODUCT_PACKAGES += \ | ||
[email protected] | ||
|
||
# RCS | ||
PRODUCT_PACKAGES += \ | ||
PresencePolling \ | ||
|
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 @@ | ||
<manifest version="1.0" type="device" target-level="4"> | ||
<hal format="hidl"> | ||
<name>vendor.lineage.livedisplay</name> | ||
<transport>hwbinder</transport> | ||
<version>2.0</version> | ||
<interface> | ||
<name>IPictureAdjustment</name> | ||
<instance>default</instance> | ||
</interface> | ||
</hal> | ||
</manifest> |
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,10 @@ | ||
# Do not use add_service() as hal_graphics_composer_default may be the provider as well | ||
allow hal_lineage_livedisplay_qti qdisplay_service:service_manager find; | ||
|
||
binder_call(hal_lineage_livedisplay_qti, hal_graphics_composer_default) | ||
|
||
# Allow LiveDisplay to access vendor display property | ||
get_prop(hal_lineage_livedisplay_qti, vendor_display_prop) | ||
|
||
allow hal_lineage_livedisplay_qti pps_socket:sock_file rw_file_perms; | ||
allow hal_lineage_livedisplay_qti hal_graphics_composer_default:unix_stream_socket { connectto }; |
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,2 @@ | ||
# LiveDisplay HAL | ||
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.0-service-sdm u:object_r:hal_lineage_livedisplay_qti_exec:s0 |
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,12 @@ | ||
type hal_lineage_livedisplay_qti, domain; | ||
hal_server_domain(hal_lineage_livedisplay_qti, hal_lineage_livedisplay) | ||
|
||
type hal_lineage_livedisplay_qti_exec, exec_type, vendor_file_type, file_type; | ||
init_daemon_domain(hal_lineage_livedisplay_qti) | ||
|
||
# Allow LiveDisplay HAL's default implementation to use vendor-binder service | ||
vndbinder_use(hal_lineage_livedisplay_qti) | ||
|
||
# Allow LiveDisplay to store files under /data/vendor/display and access them | ||
allow hal_lineage_livedisplay_qti display_vendor_data_file:dir rw_dir_perms; | ||
allow hal_lineage_livedisplay_qti display_vendor_data_file:file create_file_perms; |