Merge pull request #1640 from shantanu1k/master

Simplified the download notification
This commit is contained in:
Bnyro 2022-10-24 07:48:44 +02:00 committed by GitHub
commit 304e1cfdd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

View File

@ -74,7 +74,7 @@ class DownloadService : Service() {
)
if (downloadType in listOf(DownloadType.VIDEO, DownloadType.AUDIO_VIDEO)) {
videoDownloadId = downloadManagerRequest(
getString(R.string.video),
"[${getString(R.string.video)}] $videoName",
getString(R.string.downloading),
videoUrl,
Uri.fromFile(
@ -84,7 +84,7 @@ class DownloadService : Service() {
}
if (downloadType in listOf(DownloadType.AUDIO, DownloadType.AUDIO_VIDEO)) {
audioDownloadId = downloadManagerRequest(
getString(R.string.audio),
"[${getString(R.string.audio)}] $videoName",
getString(R.string.downloading),
audioUrl,
Uri.fromFile(