When an image or images are transmitted each 4 mb in size, the application crashes and closes, but the images are still transmitted and remain in the phone's memory, with a "status" bar that they are still being transmitted (this hangs forever until you forcefully close the application)
Git commit 1fa8f3c99d33150d4ee8bdda427a373822231149 by Albert Vaca, on behalf of Erik Duisters. Committed on 07/11/2018 at 16:53. Pushed by albertvaka into branch 'master'. Load image with resampling to prevent OOM Summary: When loading large images you can run into an OOM situation crashing the app and leaving the progress notification displayed indefinitely Test Plan: Before applying the patch find a phone where the app crashes when you send a very large image to it (my 6.0.1 phone did not even crash when i send it a 85MB image but my 4.0.4 phone already crashes on a 7MB image) Apply patch install and send image again Reviewers: #kde_connect, albertvaka Reviewed By: #kde_connect, albertvaka Subscribers: albertvaka, kdeconnect Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D16712 M +33 -3 src/org/kde/kdeconnect/Plugins/SharePlugin/ShareNotification.java https://commits.kde.org/kdeconnect-android/1fa8f3c99d33150d4ee8bdda427a373822231149