mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 05:16:51 +01:00
parent
24797c7dd7
commit
a63dc4a018
@ -229,7 +229,7 @@ public abstract class AbstractDeviceSupport implements DeviceSupport {
|
||||
|
||||
Intent shareIntent = new Intent(Intent.ACTION_SEND);
|
||||
shareIntent.setType("image/*");
|
||||
shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File(fullpath)));
|
||||
shareIntent.putExtra(Intent.EXTRA_STREAM, screenshotURI);
|
||||
|
||||
PendingIntent pendingShareIntent = PendingIntent.getActivity(context, 0, Intent.createChooser(shareIntent, "share screenshot"),
|
||||
PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
|
Loading…
Reference in New Issue
Block a user