Skip to content

Commit

Permalink
sm8250-common: enable qcom wfd
Browse files Browse the repository at this point in the history
also bring WfdCommon.jar proprietary-files entry inline with the rest

Change-Id: I0269a8ecc76ec4d9ecfc68bbcff02b7f13857c8a
  • Loading branch information
SGCMarkus committed Mar 24, 2022
1 parent aa53e29 commit c1f7d07
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion proprietary-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ vendor/etc/wifi/aoa_cldb_falcon.bin
vendor/etc/wifi/aoa_cldb_swl14.bin

# WiFi Display - from lemonadep - SKQ1.210821.001
-framework/WfdCommon.jar|9f431b56d7f38c71089333008695dd5f717e5034
-system/framework/WfdCommon.jar|9f431b56d7f38c71089333008695dd5f717e5034
-system_ext/priv-app/WfdService/WfdService.apk|381e93aaa1943526cbeb9957656b5a0622b589d6

# WiFi Display
Expand Down
14 changes: 14 additions & 0 deletions resource-overlay/common/Frameworks/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -299,4 +299,18 @@

<!-- Configure emergency apn as empty(null) apn -->
<string name="config_emergency_apn" translatable="false"></string>

<!-- Whether WiFi display is supported by this device.
There are many prerequisites for this feature to work correctly.
Here are a few of them:
* The WiFi radio must support WiFi P2P.
* The WiFi radio must support concurrent connections to the WiFi display and
to an access point.
* The Audio Server audio_policy_configuration.xml file must specify a rule for
the "r_submix" remote submix module. This module is used to record and stream system
audio output to the WiFi display encoder in the media server.
* The remote submix module "audio.r_submix.default" must be installed on the device.
* The device must be provisioned with HDCP keys (for protected content).
-->
<bool name="config_enableWifiDisplay">true</bool>
</resources>
4 changes: 4 additions & 0 deletions system.prop
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ persist.vendor.data.mode=concurrent
# Vendor
ro.vendor.qti.va_aosp.support=1

# WFD
persist.debug.wfd.enable=1
persist.sys.wfd.virtual=0

# Zygote
persist.device_config.runtime_native.usap_pool_enabled=true

Expand Down

0 comments on commit c1f7d07

Please sign in to comment.