We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bfa58e5 + e91ba45 commit b2d73adCopy full SHA for b2d73ad
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