-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix: handle ask user name collision policy #15920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
442a183
831462e
d944d37
ddca572
2359519
15ca7fe
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| /* | ||
| * Nextcloud - Android Client | ||
| * | ||
| * SPDX-FileCopyrightText: 2025 Alper Ozturk <[email protected]> | ||
| * SPDX-License-Identifier: AGPL-3.0-or-later | ||
| */ | ||
|
|
||
| package com.nextcloud.client.jobs.autoUpload | ||
|
|
||
| import android.content.Context | ||
| import com.nextcloud.client.jobs.notification.WorkerNotificationManager | ||
| import com.owncloud.android.R | ||
| import com.owncloud.android.ui.notifications.NotificationUtils | ||
| import com.owncloud.android.utils.theme.ViewThemeUtils | ||
|
|
||
| class AutoUploadNotificationManager(context: Context, viewThemeUtils: ViewThemeUtils, id: Int) : | ||
| WorkerNotificationManager( | ||
| id, | ||
| context, | ||
| viewThemeUtils, | ||
| tickerId = R.string.foreground_service_upload, | ||
| channelId = NotificationUtils.NOTIFICATION_CHANNEL_UPLOAD | ||
| ) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,6 +46,14 @@ open class WorkerNotificationManager( | |
| notificationManager.notify(id, notificationBuilder.build()) | ||
| } | ||
|
|
||
| fun showNotification(notification: Notification) { | ||
| notificationManager.notify(id, notification) | ||
Check failureCode scanning / CodeQL Use of implicit PendingIntents
[An implicit Intent is created](1) and sent to an unspecified third party through a PendingIntent.
[An implicit Intent is created](2) and sent to an unspecified third party through a PendingIntent.
[An implicit Intent is created](3) and sent to an unspecified third party through a PendingIntent.
Copilot AutofixAI about 15 hours ago Copilot could not generate an autofix suggestion Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support. |
||
| } | ||
|
|
||
| fun showNotification(id: Int, notification: Notification) { | ||
| notificationManager.notify(id, notification) | ||
| } | ||
|
|
||
| @Suppress("MagicNumber") | ||
| fun setProgress(percent: Int, progressText: String?, indeterminate: Boolean) { | ||
| notificationBuilder.run { | ||
|
|
||
Check failure
Code scanning / CodeQL
Use of implicit PendingIntents
Copilot Autofix
AI about 15 hours ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.