AndroidManifest.xml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools">
  4. <uses-sdk tools:overrideLibrary="top.yukonga.miuix.kmp.blur" />
  5. <uses-permission android:name="android.permission.INTERNET" />
  6. <uses-permission android:name="android.permission.WAKE_LOCK" />
  7. <uses-permission android:name="android.permission.READ_PHONE_STATE" />
  8. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  9. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  10. <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
  11. <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
  12. <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
  13. <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
  14. <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
  15. <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
  16. <uses-permission
  17. android:name="android.permission.MANAGE_EXTERNAL_STORAGE"
  18. tools:ignore="ScopedStorage" />
  19. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  20. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  21. <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
  22. <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
  23. <application
  24. android:name=".App"
  25. android:allowBackup="true"
  26. android:icon="@mipmap/ic_launcher"
  27. android:label="${app_name}"
  28. android:networkSecurityConfig="@xml/network_security_config"
  29. android:requestLegacyExternalStorage="true"
  30. android:enableOnBackInvokedCallback="true"
  31. android:hardwareAccelerated="true"
  32. android:supportsRtl="true"
  33. android:autoStoreLocales="true"
  34. android:theme="@style/Base.AppTheme"
  35. tools:ignore="AllowBackup,GoogleAppIndexingWarning,UnusedAttribute">
  36. <!-- 图标0 -->
  37. <activity
  38. android:name=".ui.main.LauncherW"
  39. android:enabled="false"
  40. android:configChanges="uiMode"
  41. android:exported="true"
  42. android:icon="@mipmap/launcherw">
  43. <intent-filter>
  44. <action android:name="android.intent.action.MAIN" />
  45. <category android:name="android.intent.category.LAUNCHER" />
  46. <action android:name="com.samsung.android.support.REMOTE_ACTION" />
  47. </intent-filter>
  48. <meta-data
  49. android:name="com.samsung.android.support.REMOTE_ACTION"
  50. android:resource="@xml/spen_remote_actions" />
  51. </activity>
  52. <activity
  53. android:name=".ui.main.Launcher0"
  54. android:enabled="false"
  55. android:configChanges="uiMode"
  56. android:exported="true"
  57. android:icon="@mipmap/launcher0">
  58. <intent-filter>
  59. <action android:name="android.intent.action.MAIN" />
  60. <category android:name="android.intent.category.LAUNCHER" />
  61. <action android:name="com.samsung.android.support.REMOTE_ACTION" />
  62. </intent-filter>
  63. <meta-data
  64. android:name="com.samsung.android.support.REMOTE_ACTION"
  65. android:resource="@xml/spen_remote_actions" />
  66. </activity>
  67. <!-- 图标1 -->
  68. <activity
  69. android:name=".ui.main.Launcher1"
  70. android:enabled="false"
  71. android:configChanges="uiMode"
  72. android:exported="true"
  73. android:icon="@mipmap/launcher1">
  74. <intent-filter>
  75. <action android:name="android.intent.action.MAIN" />
  76. <category android:name="android.intent.category.LAUNCHER" />
  77. <action android:name="com.samsung.android.support.REMOTE_ACTION" />
  78. </intent-filter>
  79. <meta-data
  80. android:name="com.samsung.android.support.REMOTE_ACTION"
  81. android:resource="@xml/spen_remote_actions" />
  82. </activity>
  83. <!-- 图标2 -->
  84. <activity
  85. android:name=".ui.main.Launcher2"
  86. android:enabled="false"
  87. android:configChanges="uiMode"
  88. android:exported="true"
  89. android:icon="@mipmap/launcher2">
  90. <intent-filter>
  91. <action android:name="android.intent.action.MAIN" />
  92. <category android:name="android.intent.category.LAUNCHER" />
  93. <action android:name="com.samsung.android.support.REMOTE_ACTION" />
  94. </intent-filter>
  95. <meta-data
  96. android:name="com.samsung.android.support.REMOTE_ACTION"
  97. android:resource="@xml/spen_remote_actions" />
  98. </activity>
  99. <!-- 图标3 -->
  100. <activity
  101. android:name=".ui.main.Launcher3"
  102. android:enabled="false"
  103. android:configChanges="uiMode"
  104. android:exported="true"
  105. android:icon="@mipmap/launcher3">
  106. <intent-filter>
  107. <action android:name="android.intent.action.MAIN" />
  108. <category android:name="android.intent.category.LAUNCHER" />
  109. <action android:name="com.samsung.android.support.REMOTE_ACTION" />
  110. </intent-filter>
  111. <meta-data
  112. android:name="com.samsung.android.support.REMOTE_ACTION"
  113. android:resource="@xml/spen_remote_actions" />
  114. </activity>
  115. <!-- 图标4 -->
  116. <activity
  117. android:name=".ui.main.Launcher4"
  118. android:enabled="false"
  119. android:configChanges="uiMode"
  120. android:exported="true"
  121. android:icon="@mipmap/launcher4">
  122. <intent-filter>
  123. <action android:name="android.intent.action.MAIN" />
  124. <category android:name="android.intent.category.LAUNCHER" />
  125. <action android:name="com.samsung.android.support.REMOTE_ACTION" />
  126. </intent-filter>
  127. <meta-data
  128. android:name="com.samsung.android.support.REMOTE_ACTION"
  129. android:resource="@xml/spen_remote_actions" />
  130. </activity>
  131. <!-- 图标5 -->
  132. <activity
  133. android:name=".ui.main.Launcher5"
  134. android:enabled="false"
  135. android:configChanges="uiMode"
  136. android:exported="true"
  137. android:icon="@mipmap/launcher5">
  138. <intent-filter>
  139. <action android:name="android.intent.action.MAIN" />
  140. <category android:name="android.intent.category.LAUNCHER" />
  141. <action android:name="com.samsung.android.support.REMOTE_ACTION" />
  142. </intent-filter>
  143. <meta-data
  144. android:name="com.samsung.android.support.REMOTE_ACTION"
  145. android:resource="@xml/spen_remote_actions" />
  146. </activity>
  147. <!-- 图标6 -->
  148. <activity
  149. android:name=".ui.main.Launcher6"
  150. android:enabled="false"
  151. android:configChanges="uiMode"
  152. android:exported="true"
  153. android:icon="@mipmap/launcher6">
  154. <intent-filter>
  155. <action android:name="android.intent.action.MAIN" />
  156. <category android:name="android.intent.category.LAUNCHER" />
  157. <action android:name="com.samsung.android.support.REMOTE_ACTION" />
  158. </intent-filter>
  159. <meta-data
  160. android:name="com.samsung.android.support.REMOTE_ACTION"
  161. android:resource="@xml/spen_remote_actions" />
  162. </activity>
  163. <!-- 主界面 -->
  164. <activity
  165. android:name=".ui.main.MainActivity"
  166. android:alwaysRetainTaskState="true"
  167. android:configChanges="uiMode"
  168. android:enableOnBackInvokedCallback="true"
  169. android:windowSoftInputMode="adjustResize"
  170. android:exported="true">
  171. <intent-filter>
  172. <action android:name="android.intent.action.MAIN" />
  173. <category android:name="android.intent.category.LAUNCHER" />
  174. <action android:name="com.samsung.android.support.REMOTE_ACTION" />
  175. </intent-filter>
  176. <meta-data
  177. android:name="com.samsung.android.support.REMOTE_ACTION"
  178. android:resource="@xml/spen_remote_actions" />
  179. </activity>
  180. <activity
  181. android:name=".ui.welcome.WelcomeActivity"
  182. android:enableOnBackInvokedCallback="true"
  183. android:exported="false"
  184. android:windowSoftInputMode="adjustPan|stateHidden" />
  185. <!-- 阅读漫画界面 -->
  186. <activity
  187. android:name=".ui.book.manga.ReadMangaActivity"
  188. android:exported="false"
  189. android:enableOnBackInvokedCallback="true"
  190. android:launchMode="singleTask">
  191. <intent-filter>
  192. <action android:name="com.samsung.android.support.REMOTE_ACTION" />
  193. </intent-filter>
  194. <meta-data
  195. android:name="com.samsung.android.support.REMOTE_ACTION"
  196. android:resource="@xml/spen_remote_actions" />
  197. </activity>
  198. <!-- 书籍详情页 -->
  199. <activity
  200. android:name=".ui.book.info.BookInfoActivity"
  201. android:enableOnBackInvokedCallback="true"
  202. android:launchMode="singleTop" />
  203. <!-- 书籍信息编辑 -->
  204. <activity
  205. android:name=".ui.book.info.edit.BookInfoEditActivity"
  206. android:enableOnBackInvokedCallback="true"
  207. android:launchMode="singleTask"
  208. android:windowSoftInputMode="adjustResize|stateHidden" />
  209. <!-- 音频播放界面 -->
  210. <activity
  211. android:name="io.legado.app.ui.book.audio.AudioPlayActivity"
  212. android:enableOnBackInvokedCallback="true"
  213. android:launchMode="singleTask" />
  214. <!-- 授权界面 -->
  215. <activity
  216. android:name="io.legado.app.lib.permission.PermissionActivity"
  217. android:enableOnBackInvokedCallback="true"
  218. android:theme="@style/Activity.Permission" />
  219. <!-- 二维码扫描 -->
  220. <activity
  221. android:name=".ui.qrcode.QrCodeActivity"
  222. android:enableOnBackInvokedCallback="true"
  223. android:launchMode="singleTask" />
  224. <!-- 书源编辑 -->
  225. <activity
  226. android:name=".ui.book.source.edit.BookSourceEditActivity"
  227. android:enableOnBackInvokedCallback="true"
  228. android:configChanges="locale|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout"
  229. android:launchMode="singleTask"
  230. android:windowSoftInputMode="adjustResize|stateHidden" />
  231. <!-- 订阅源编辑 -->
  232. <activity
  233. android:name=".ui.rss.source.edit.RssSourceEditActivity"
  234. android:enableOnBackInvokedCallback="true"
  235. android:configChanges="locale|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout"
  236. android:launchMode="singleTask"
  237. android:windowSoftInputMode="adjustResize|stateHidden" />
  238. <!-- 搜索界面 -->
  239. <activity
  240. android:name=".ui.book.search.SearchActivity"
  241. android:enableOnBackInvokedCallback="true"
  242. android:launchMode="standard" />
  243. <activity
  244. android:name=".ui.about.CrashReportActivity"
  245. android:enableOnBackInvokedCallback="true"
  246. android:excludeFromRecents="true"
  247. android:launchMode="singleTask" />
  248. <!-- 书源管理 -->
  249. <activity
  250. android:name=".ui.book.source.manage.BookSourceActivity"
  251. android:enableOnBackInvokedCallback="false"
  252. android:launchMode="singleTop" />
  253. <!-- 订阅源管理 -->
  254. <activity
  255. android:name=".ui.rss.source.manage.RssSourceActivity"
  256. android:enableOnBackInvokedCallback="true"
  257. android:launchMode="singleTop" />
  258. <!-- txt目录规则管理 -->
  259. <activity
  260. android:name=".ui.book.toc.rule.TxtTocRuleActivity"
  261. android:enableOnBackInvokedCallback="true"
  262. android:launchMode="singleTop" />
  263. <!-- txt目录规则预览(阅读界面) -->
  264. <activity
  265. android:name=".ui.book.toc.rule.preview.TxtTocRulePreviewActivity"
  266. android:enableOnBackInvokedCallback="true"
  267. android:launchMode="singleTop" />
  268. <!-- 替换规则界面 -->
  269. <activity
  270. android:name=".ui.replace.ReplaceRuleActivity"
  271. android:enableOnBackInvokedCallback="true"
  272. android:windowSoftInputMode="adjustResize"
  273. android:launchMode="singleTop" />
  274. <!-- 书源调试 -->
  275. <activity
  276. android:name=".ui.book.source.debug.BookSourceDebugActivity"
  277. android:enableOnBackInvokedCallback="true"
  278. android:launchMode="singleTop" />
  279. <!-- 目录 -->
  280. <activity
  281. android:name=".ui.book.toc.TocActivity"
  282. android:enableOnBackInvokedCallback="true"
  283. android:launchMode="singleTop" />
  284. <!-- 订阅源调试 -->
  285. <activity
  286. android:name=".ui.rss.source.debug.RssSourceDebugActivity"
  287. android:enableOnBackInvokedCallback="true"
  288. android:launchMode="singleTop" />
  289. <!-- 书签 -->
  290. <activity
  291. android:name=".ui.book.bookmark.AllBookmarkActivity"
  292. android:enableOnBackInvokedCallback="true"
  293. android:launchMode="singleTop" />
  294. <!-- WebView界面 -->
  295. <activity
  296. android:name=".ui.browser.WebViewActivity"
  297. android:enableOnBackInvokedCallback="true"
  298. android:configChanges="locale|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout"
  299. android:launchMode="standard" />
  300. <!-- 书源登录 -->
  301. <activity
  302. android:name="io.legado.app.ui.login.SourceLoginActivity"
  303. android:enableOnBackInvokedCallback="true"
  304. android:configChanges="orientation|screenSize"
  305. android:hardwareAccelerated="true"
  306. android:theme="@style/AppTheme.Transparent" />
  307. <!-- 字典管理 -->
  308. <activity
  309. android:name=".ui.dict.rule.DictRuleActivity"
  310. android:enableOnBackInvokedCallback="true"
  311. android:configChanges="orientation|screenSize"
  312. android:hardwareAccelerated="true" />
  313. <activity
  314. android:name=".ui.dict.DictActivity"
  315. android:enableOnBackInvokedCallback="true"
  316. android:configChanges="orientation|screenSize"
  317. android:hardwareAccelerated="true" />
  318. <!-- 文件管理 -->
  319. <activity
  320. android:name=".ui.file.FileManageActivity"
  321. android:enableOnBackInvokedCallback="true"
  322. android:configChanges="orientation|screenSize"
  323. android:hardwareAccelerated="true" />
  324. <!-- 选择文件 -->
  325. <activity
  326. android:name=".ui.file.HandleFileActivity"
  327. android:enableOnBackInvokedCallback="true"
  328. android:configChanges="orientation|screenSize"
  329. android:hardwareAccelerated="true"
  330. android:theme="@style/AppTheme.Transparent" />
  331. <!-- 文字处理 -->
  332. <activity
  333. android:name=".receiver.SharedReceiverActivity"
  334. android:exported="true"
  335. android:label="@string/receiving_shared_label"
  336. android:theme="@style/AppTheme.Transparent">
  337. <intent-filter>
  338. <action android:name="android.intent.action.PROCESS_TEXT" />
  339. <category android:name="android.intent.category.DEFAULT" />
  340. <data android:mimeType="text/plain" />
  341. </intent-filter>
  342. <intent-filter>
  343. <action android:name="android.intent.action.SEND" />
  344. <category android:name="android.intent.category.DEFAULT" />
  345. <data android:mimeType="text/plain" />
  346. </intent-filter>
  347. </activity>
  348. <!-- 一键导入 -->
  349. <activity
  350. android:name=".ui.association.OnLineImportActivity"
  351. android:configChanges="locale|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout"
  352. android:exported="true"
  353. android:theme="@style/AppTheme.Transparent">
  354. <intent-filter>
  355. <action android:name="android.intent.action.VIEW" />
  356. <category android:name="android.intent.category.DEFAULT" />
  357. <category android:name="android.intent.category.BROWSABLE" />
  358. <data android:scheme="legado" />
  359. <data android:scheme="yuedu" />
  360. </intent-filter>
  361. </activity>
  362. <!-- 验证码输入 -->
  363. <activity
  364. android:name=".ui.association.VerificationCodeActivity"
  365. android:configChanges="locale|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout"
  366. android:theme="@style/AppTheme.Transparent" />
  367. <!-- 跳转确认 -->
  368. <activity
  369. android:name=".ui.association.OpenUrlConfirmActivity"
  370. android:configChanges="locale|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout"
  371. android:theme="@style/AppTheme.Transparent" />
  372. <!-- 打开文件 -->
  373. <activity
  374. android:name=".ui.association.FileAssociationActivity"
  375. android:exported="true"
  376. android:launchMode="singleTop"
  377. android:theme="@style/AppTheme.Transparent">
  378. <!-- VIEW (Open with) action -->
  379. <!-- Works when an app knows the media type of a file, e.g. Gmail or Chrome. -->
  380. <intent-filter>
  381. <action android:name="android.intent.action.VIEW" />
  382. <category android:name="android.intent.category.DEFAULT" />
  383. <category android:name="android.intent.category.BROWSABLE" />
  384. <data android:scheme="app" />
  385. <data android:scheme="content" />
  386. <data android:scheme="file" />
  387. <!-- text -->
  388. <data android:mimeType="text/plain" />
  389. <!-- json -->
  390. <data android:mimeType="application/json" />
  391. <!-- EPUB -->
  392. <data android:mimeType="application/epub+zip" />
  393. <!-- pdf -->
  394. <data android:mimeType="application/pdf" />
  395. <!-- mobi -->
  396. <data android:mimeType="application/mobi" />
  397. <data android:mimeType="application/x-mobipocket-ebook" />
  398. <!-- azw/azw3 -->
  399. <data android:mimeType="application/azw" />
  400. <data android:mimeType="application/azw3" />
  401. <data android:mimeType="application/x-mobi8-ebook" />
  402. <data android:mimeType="application/octet-stream" />
  403. </intent-filter>
  404. <!-- Works when an app doesn't know the media type, e.g. Dropbox -->
  405. <intent-filter>
  406. <action android:name="android.intent.action.VIEW" />
  407. <category android:name="android.intent.category.DEFAULT" />
  408. <category android:name="android.intent.category.BROWSABLE" />
  409. <data android:host="*" />
  410. <data android:scheme="app" />
  411. <data android:scheme="content" />
  412. <data android:scheme="file" />
  413. <!-- This media type is necessary, otherwise it won't match on the file extension -->
  414. <data android:mimeType="*/*" />
  415. <!--TXT-->
  416. <data android:pathAdvancedPattern=".*\\.[tT][xX][tT]" />
  417. <data android:pathPattern=".*\\.txt" />
  418. <data android:pathPattern=".*\\.TXT" />
  419. <!--JSON-->
  420. <data android:pathAdvancedPattern=".*\\.[jJ][sS][oO][nN]" />
  421. <data android:pathPattern=".*\\.json" />
  422. <data android:pathPattern=".*\\.JSON" />
  423. <!-- EPUB -->
  424. <data android:pathAdvancedPattern=".*\\.[eE][pP][uU][bB]" />
  425. <data android:pathPattern=".*\\.epub" />
  426. <data android:pathPattern=".*\\.EPUB" />
  427. <!-- pdf -->
  428. <data android:pathAdvancedPattern=".*\\.[pP][dD][fF]" />
  429. <data android:pathPattern=".*\\.pdf" />
  430. <data android:pathPattern=".*\\.PDF" />
  431. <!-- mobi -->
  432. <data android:pathAdvancedPattern=".*\\.[mM][oO][bB][iI]" />
  433. <data android:pathPattern=".*\\.mobi" />
  434. <data android:pathPattern=".*\\.MOBI" />
  435. <!-- azw -->
  436. <data android:pathAdvancedPattern=".*\\.[aA][zZ][wW]" />
  437. <data android:pathPattern=".*\\.azw" />
  438. <data android:pathPattern=".*\\.AZW" />
  439. <!-- azw3 -->
  440. <data android:pathAdvancedPattern=".*\\.[aA][zZ][wW]3" />
  441. <data android:pathPattern=".*\\.azw3" />
  442. <data android:pathPattern=".*\\.AZW3" />
  443. <!-- zip -->
  444. <data android:pathAdvancedPattern=".*\\.[zZ][iI][pP]" />
  445. <data android:pathPattern=".*\\.zip" />
  446. <data android:pathPattern=".*\\.ZIP" />
  447. <!-- rar -->
  448. <data android:pathAdvancedPattern=".*\\.[rR][aA][rR]" />
  449. <data android:pathPattern=".*\\.rar" />
  450. <data android:pathPattern=".*\\.RAR" />
  451. <!-- 7z -->
  452. <data android:pathAdvancedPattern=".*\\.7[zZ]" />
  453. <data android:pathPattern=".*\\.7z" />
  454. <data android:pathPattern=".*\\.7Z" />
  455. </intent-filter>
  456. </activity>
  457. <service
  458. android:name=".service.CheckSourceService"
  459. android:foregroundServiceType="dataSync" />
  460. <service
  461. android:name=".service.CacheBookService"
  462. android:foregroundServiceType="dataSync" />
  463. <service
  464. android:name=".service.ExportBookService"
  465. android:foregroundServiceType="dataSync" />
  466. <service
  467. android:name=".service.WebService"
  468. android:foregroundServiceType="dataSync" />
  469. <service
  470. android:name=".service.WebTileService"
  471. android:exported="true"
  472. android:foregroundServiceType="dataSync"
  473. android:icon="@drawable/ic_web_service_noti"
  474. android:label="legado Web Service"
  475. android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
  476. >
  477. <intent-filter>
  478. <action android:name="android.service.quicksettings.action.QS_TILE" />
  479. </intent-filter>
  480. </service>
  481. <service
  482. android:name=".service.TTSReadAloudService"
  483. android:foregroundServiceType="mediaPlayback" />
  484. <service
  485. android:name=".service.HttpReadAloudService"
  486. android:foregroundServiceType="mediaPlayback" />
  487. <service
  488. android:name=".service.AudioPlayService"
  489. android:foregroundServiceType="mediaPlayback" />
  490. <service
  491. android:name=".service.DownloadService"
  492. android:foregroundServiceType="dataSync" />
  493. <service
  494. android:name="androidx.appcompat.app.AppLocalesMetadataHolderService"
  495. android:enabled="true"
  496. android:exported="false"
  497. tools:ignore="ExportedService" />
  498. <receiver
  499. android:name=".receiver.MediaButtonReceiver"
  500. android:exported="true">
  501. <intent-filter>
  502. <action android:name="android.intent.action.MEDIA_BUTTON" />
  503. </intent-filter>
  504. </receiver>
  505. <provider
  506. android:name=".api.ReaderProvider"
  507. android:authorities="${applicationId}.readerProvider"
  508. android:enabled="true"
  509. android:exported="true"
  510. tools:ignore="ExportedContentProvider" />
  511. <provider
  512. android:name="androidx.core.content.FileProvider"
  513. android:authorities="${applicationId}.fileProvider"
  514. android:exported="false"
  515. android:grantUriPermissions="true">
  516. <meta-data
  517. android:name="android.support.FILE_PROVIDER_PATHS"
  518. android:resource="@xml/file_paths" />
  519. </provider>
  520. <provider
  521. android:name="androidx.startup.InitializationProvider"
  522. android:authorities="${applicationId}.androidx-startup"
  523. android:exported="false"
  524. tools:node="merge">
  525. <meta-data
  526. android:name="androidx.emoji2.text.EmojiCompatInitializer"
  527. tools:node="remove" />
  528. </provider>
  529. <provider
  530. android:name="com.google.firebase.provider.FirebaseInitProvider"
  531. android:authorities="${applicationId}.firebaseinitprovider"
  532. android:exported="false"
  533. tools:node="remove" />
  534. <meta-data
  535. android:name="channel"
  536. android:value="${APP_CHANNEL_VALUE}" />
  537. </application>
  538. <queries>
  539. <intent>
  540. <action android:name="android.intent.action.VIEW" />
  541. <data android:scheme="*" />
  542. </intent>
  543. <intent>
  544. <action android:name="android.intent.action.VIEW" />
  545. <data
  546. android:mimeType="*/*"
  547. android:scheme="*" />
  548. </intent>
  549. <intent>
  550. <action android:name="android.intent.action.TTS_SERVICE" />
  551. </intent>
  552. <intent>
  553. <action android:name="android.intent.action.PROCESS_TEXT" />
  554. <data android:mimeType="text/plain" />
  555. </intent>
  556. </queries>
  557. </manifest>