D16712: Load image with resampling to prevent OOM

Erik Duisters noreply at phabricator.kde.org
Tue Nov 6 16:49:50 GMT 2018


eduisters created this revision.
eduisters added a reviewer: KDE Connect.
Herald added a project: KDE Connect.
Herald added a subscriber: kdeconnect.
eduisters requested review of this revision.

REVISION SUMMARY
  When loading large images you can run into an OOM situation crashing
  the app and leaving the progress notification displayed indefinitely
  
  BUG: 397507

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

REPOSITORY
  R225 KDE Connect - Android application

BRANCH
  bug397507

REVISION DETAIL
  https://phabricator.kde.org/D16712

AFFECTED FILES
  src/org/kde/kdeconnect/Plugins/SharePlugin/ShareNotification.java

To: eduisters, #kde_connect
Cc: kdeconnect, shivanshukantprasad, skymoore, wistak, dvalencia, rmenezes, julioc, Leptopoda, timothyc, jdvr, yannux, Danial0_0, johnq, Pitel, adeen-s, SemperPeritus, daniel.z.tg, jeanv, seebauer, bugzy, MayeulC, menasshock, tctara, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20181106/a5fecaa3/attachment.html>


More information about the KDEConnect mailing list