Skip to content

Fix back behaviour

Gobinath A L requested to merge gobinathal/kdeconnect-android:back-patch into master

Summary

This MR fixes the back button animation when using UI back button instead of system back button(or back gesture in Android 10+).

An end user expects the UI back button to behave in the same way as the system back button. But in many places, the UI back button behaviour was different. This MR fixes those bugs.

Test Plan

Before:

Go to Navigation Drawer>About>About KDE and press the system back button(or gesture) and observe the behaviour. Try the same with UI back button(present at top left). They have different behaviours. Try using system back button and UI back button in the following screens.

  • Navigation Drawer>Settings>Trusted networks
  • Navigation Drawer>Settings>Add devices by IP
  • Navigation Drawer>Pair New Device>Three dots menu>Add devices by IP
  • Navigation Drawer>Pair New Device>Three dots menu>Trusted networks
  • Navigation Drawer>Select one of your connected devices>Three dots menu>Plugin Settings
  • Navigation Drawer>Select one of your connected devices>Slideshow remote
  • Navigation Drawer>Select one of your connected devices>Multimedia control
  • Navigation Drawer>Select one of your connected devices>Remote input
  • Navigation Drawer>Select one of your connected devices>Run command
  • Navigation Drawer>Select one of your connected devices>Three dots menu>Plugin Settings>Notification sync

Observed: Different behaviours

After:

Try the same in the screens mentioned above and now both have same behaviour

Edited by Gobinath A L

Merge request reports