D7993: System volume plugin Android

Matthijs Tijink noreply at phabricator.kde.org
Mon Apr 30 18:43:40 UTC 2018


mtijink added inline comments.

INLINE COMMENTS

> nicolasfella wrote in activity_mpris.xml:26
> Because the plugin assumes that it is there and will crash otherwise as soon as my phone switches to landscape it will crash. It's not excactly a clean solution, I'll try to come up with something better

Android restarts the activity after rotating to landscape (https://developer.android.com/guide/topics/resources/runtime-changes). So you can just check (while creating the activity) if the fragment exists and don't do anything with it if necessary.

REPOSITORY
  R225 KDE Connect - Android application

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

To: nicolasfella, #kde_connect, mtijink
Cc: Murz, mtijink, #kde_connect, yannux, Danial0_0, johnq, Pitel, adeen-s, SemperPeritus, ahmedbesbes, ndavis, daniel.z.tg, jeanv, seebauer, bugzy, MayeulC, menasshock, ach, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20180430/dcaa384b/attachment.html>


More information about the KDEConnect mailing list