D17409: Do not create a new content fragment on orientation change

Erik Duisters noreply at phabricator.kde.org
Fri Dec 7 17:22:59 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 an orientation change occurs the fragment manager will automatically 
  re-create the content fragment for us.

TEST PLAN
  Set the content fragment to DeviceFragment and change orientation
  Result: DeviceFragment is shown for the correct device and the correct navigation view menu item is checked
  
  Set the content fragment to PairingFragment and change orientation
  Result: PairingFragment is shown for the correct device and the "Pair new device" navigation view menu item is checked

REPOSITORY
  R225 KDE Connect - Android application

BRANCH
  handle_orientation_change

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

AFFECTED FILES
  src/org/kde/kdeconnect/UserInterface/MainActivity.java

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


More information about the KDEConnect mailing list