We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a50a4c9 + daf5902 commit e568059Copy full SHA for e568059
app/src/main/java/com/nextcloud/client/jobs/MediaFoldersDetectionWork.kt
@@ -201,13 +201,15 @@ class MediaFoldersDetectionWork constructor(
201
!MainApp.isClientBranded()
202
) {
203
sendAutoUploadNotification()
204
+ preferences.setAutoUploadGPlayNotificationShown(true)
205
}
206
207
return Result.success()
208
209
210
+ @Suppress("MagicNumber")
211
private fun sendAutoUploadNotification() {
- val notificationId = randomIdGenerator.nextInt()
212
+ val notificationId = 326
213
val intent = Intent(context, FileDisplayActivity::class.java).apply {
214
flags = Intent.FLAG_ACTIVITY_SINGLE_TOP
215
action = FileDisplayActivity.AUTO_UPLOAD_NOTIFICATION
0 commit comments