aboutsummaryrefslogtreecommitdiff
path: root/TestMediaApp/AndroidManifest.xml
diff options
context:
space:
mode:
authorArnaud Berry <arnaudberry@google.com>2019-10-22 13:35:16 -0700
committerArnaud Berry <arnaudberry@google.com>2019-10-23 12:14:50 -0700
commiteebf07f42ba33d549af66ce0703443022f4e5a90 (patch)
tree71e1dc27fc771a17aff51b05bf4eda092bb02344 /TestMediaApp/AndroidManifest.xml
parentcdd24fd5db74e0dab20445465aef708bdc29ace0 (diff)
downloadtests-eebf07f42ba33d549af66ce0703443022f4e5a90.tar.gz
Add the option to create local files for the album art
The data for those files still comes from the application's assets, but this illustrates what to do with bytes that would be received from a remote uri. Test: manual Change-Id: I5fa590d632df477df215231319e40bd05f5eb90b
Diffstat (limited to 'TestMediaApp/AndroidManifest.xml')
-rw-r--r--TestMediaApp/AndroidManifest.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/TestMediaApp/AndroidManifest.xml b/TestMediaApp/AndroidManifest.xml
index 09e850c..911145e 100644
--- a/TestMediaApp/AndroidManifest.xml
+++ b/TestMediaApp/AndroidManifest.xml
@@ -28,10 +28,11 @@
android:supportsRtl="true"
android:theme="@style/TestMediaAppTheme" >
+ <!-- This provider is read-only, only returns album art, and is not a security risk -->
<provider
- android:name=".TmaAssetProvider"
+ android:name=".TmaPublicProvider"
android:exported="true"
- android:authorities="com.android.car.media.testmediaapp.assets"/>
+ android:authorities="com.android.car.media.testmediaapp.public"/>
<service
android:name=".TmaBrowser"