Skip to content

Commit

Permalink
Migrate to LiveDisplay 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
root2raj committed May 11, 2019
1 parent ee25746 commit 05d78a5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ PRODUCT_PACKAGES += \

# LiveDisplay native
PRODUCT_PACKAGES += \
vendor.lineage.livedisplay@1.0-service-sdm
vendor.lineage.livedisplay@2.0-service-sdm

# Media
PRODUCT_COPY_FILES += \
Expand Down
4 changes: 2 additions & 2 deletions manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,9 @@
<hal format="hidl">
<name>vendor.lineage.livedisplay</name>
<transport>hwbinder</transport>
<version>1.0</version>
<version>2.0</version>
<interface>
<name>IColor</name>
<name>IPictureAdjustment</name>
<instance>default</instance>
</interface>
</hal>
Expand Down
13 changes: 13 additions & 0 deletions overlay/frameworks/base/core/res/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -534,5 +534,18 @@

<!-- Whether device ignores the RSSNR signal implementation -->
<bool name="config_ignoreRssnrSignalLevel">true</bool>

<!-- Display mode remapping table.
If the mode names returned by the backend do not match
the predefined and translated strings in the Settings
app, they can be remapped here. The format is
"oldname:newname", one per entry. -->
<string-array name="config_displayModeMappings" translatable="false">
<item>A_Standard:standard</item>
<item>B_Warm mode:reading</item>
<item>D_Cold mode:dynamic</item>
</string-array>

<!-- Should we filter any display modes which are unampped? -->
<bool name="config_filterDisplayModes">true</bool>
</resources>

0 comments on commit 05d78a5

Please sign in to comment.