Fix audio playback on API 28 devices.

This commit is contained in:
Greyson Parrelli 2019-06-30 09:41:58 -04:00
parent a5eb823a17
commit 857fda42c8
2 changed files with 8 additions and 1 deletions

View File

@ -96,7 +96,8 @@
tools:replace="android:allowBackup" tools:replace="android:allowBackup"
android:allowBackup="false" android:allowBackup="false"
android:theme="@style/TextSecure.LightTheme" android:theme="@style/TextSecure.LightTheme"
android:largeHeap="true"> android:largeHeap="true"
android:networkSecurityConfig="@xml/local_audio_server_config">
<meta-data <meta-data
android:name="com.google.android.geo.API_KEY" android:name="com.google.android.geo.API_KEY"

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">127.0.0.1</domain>
</domain-config>
</network-security-config>