Repository navigation
request media_location - #14247
request media_location#14247
Conversation
42e0bfd to
45e091e
Compare
|
#14135 (comment) - Quote with my answer/question:
Is this possible? |
Some gallery apps themselves have settings for "safe sharing" which zeros the GPS information upon sharing. Xiaomi Poco gallery is one of them (needed to disable "share without location" for proper sharing to Nextcloud app), whereas Google Foto left GPS intact. |
|
/backport to stable-3.30 |
|
thanks @tobiasKaminsky In case any (not just a custom) auto upload folder pair is found: Users should be informed explicitly that past Auto uploads didn't run since 3.30.6 (probably some time in mid December) and future Auto uploads won't run unless the new permission is granted. Is there way or a plan to ensure that those missed Auto uploads are carried out after the Photo and video permission is granted? |
|
How about: Re-enable Disrupted Auto Uploads Please check manually for missing file uploads since mid-December.
To re-enable Auto Uploads for all other files:
Auto Uploads stopped working because Google rejected the necessary file permission in a previous app update. Nextcloud is working with Google to rectify the situation and restore full functionality. |
7879bc4 to
89df990
Compare
|
@tobiasKaminsky I am unable to view the storage and notification permissions. Only the Google Play warnings are appearing. Also, Codacy Static Code Analysis fails. |
| viewThemeUtils.androidx.themeNotificationCompatBuilder(context, notificationBuilder) | ||
|
|
||
| val notificationManager = context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager | ||
| notificationManager.notify(notificationId, notificationBuilder.build()) |
Check failure
Code scanning / CodeQL
Use of implicit PendingIntents
This autofix suggestion was applied.
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI over 1 year ago
To fix the problem, we need to ensure that the Intent used to create the PendingIntent is explicit. This can be done by setting the component name explicitly in the Intent. Additionally, we should verify that all other PendingIntent creations in the code follow the same practice.
- Modify the
Intenton line 210 to explicitly set the component name. - Ensure that the
PendingIntentis created with theFLAG_IMMUTABLEflag to prevent modification by other applications.
| @@ -209,3 +209,4 @@ | ||
| val notificationId = randomIdGenerator.nextInt() | ||
| val intent = Intent(context, FileDisplayActivity::class.java).apply { | ||
| val intent = Intent().apply { | ||
| setClassName(context, FileDisplayActivity::class.java.name) | ||
| setAction(FileDisplayActivity.AUTO_UPLOAD_NOTIFICATION) |
3fc5660 to
f2307d5
Compare
f5f8584 to
4e34e75
Compare
2957d11 to
15e5511
Compare
|
@tobiasKaminsky How can you suppress this or maybe reduce the condition count? |
Signed-off-by: tobiasKaminsky <[email protected]> Signed-off-by: alperozturk <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]> Signed-off-by: alperozturk <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]> Signed-off-by: alperozturk <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]> Signed-off-by: alperozturk <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]> Signed-off-by: alperozturk <[email protected]>
Signed-off-by: github-actions <[email protected]> Signed-off-by: alperozturk <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Tobias Kaminsky <[email protected]> Signed-off-by: alperozturk <[email protected]>
…ationPermission when user pressed the close button Signed-off-by: alperozturk <[email protected]>
Co-authored-by: Tom <[email protected]> Signed-off-by: Tobias Kaminsky <[email protected]> Signed-off-by: alperozturk <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]> Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
15e5511 to
12b3fff
Compare
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/14247.apk |




Part of #14135 (comment)