| Summary: | Wrong file shared when multiple are sent (only last sent one can be shared) | ||
|---|---|---|---|
| Product: | [Applications] kdeconnect | Reporter: | rugk <7429c5c9> |
| Component: | android-application | Assignee: | Erik Duisters <e.duisters1> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | e.duisters1 |
| Priority: | NOR | ||
| Version First Reported In: | 1.8 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Android 6.x | ||
| Latest Commit: | https://commits.kde.org/kdeconnect-android/b4853508e0453bc70f081f733688da39827bb2a5 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
rugk
2018-07-01 12:26:48 UTC
Git commit b4853508e0453bc70f081f733688da39827bb2a5 by Albert Vaca, on behalf of Erik Duisters. Committed on 06/11/2018 at 20:49. Pushed by albertvaka into branch 'master'. When creating sharePendingIntent use a unique requestCode so a new PendingIntent is created Summary: Fixes the situation where when 2 or more files are send to Android clicking the share button in either of the notifications will always share the last received file. Test Plan: Send 2 files to android Click on the share button of the first received file The first file is actually used for the share and not the last received file Reviewers: #kde_connect, albertvaka Reviewed By: #kde_connect, albertvaka Subscribers: albertvaka, kdeconnect Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D16707 M +1 -2 src/org/kde/kdeconnect/Plugins/SharePlugin/ShareNotification.java https://commits.kde.org/kdeconnect-android/b4853508e0453bc70f081f733688da39827bb2a5 |