pull/32/head
kunfei 5 years ago
parent 124d8e8dbd
commit a4004d4a97
  1. 16
      app/src/main/AndroidManifest.xml
  2. 9
      app/src/main/res/xml/file_paths.xml

@ -63,6 +63,22 @@
<service android:name=".service.ReadAloudService" /> <service android:name=".service.ReadAloudService" />
<service android:name=".service.UpdateService" /> <service android:name=".service.UpdateService" />
<service android:name=".service.WebService" /> <service android:name=".service.WebService" />
<receiver android:name=".receiver.MediaButtonIntentReceiver">
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</receiver>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileProvider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
</application> </application>
</manifest> </manifest>

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<paths>
<external-path
name="files_cache"
path="Android/data/com.kunfei.bookshelf/cache" />
<external-path
name="external_storage_root"
path="." />
</paths>
Loading…
Cancel
Save