Only process onClosing events on Android
ClosedPublic

Authored by IlyaBizyaev on Sat, Feb 9, 12:02 PM.

Details

Summary

When Marble Maps are used on Android, it makes sense to modify "back" button behavior to avoid accidental app exit, simplify page stack navigation etc.
On Plasma Mobile (and Desktop, in convergent situations) we, however, want the application to be closed when a user swipes it away from their task manager.

Test Plan

Verify that on Android the behavior has not changed.
Verify that on Plasma closing the window is enough to close the application.

Diff Detail

Repository
R34 Marble
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
IlyaBizyaev created this revision.Sat, Feb 9, 12:02 PM
Restricted Application added a project: KDE Edu. · View Herald TranscriptSat, Feb 9, 12:02 PM
Restricted Application added subscribers: kde-edu, marble-devel. · View Herald Transcript
IlyaBizyaev requested review of this revision.Sat, Feb 9, 12:02 PM
mart accepted this revision.Sat, Feb 9, 12:04 PM
This revision is now accepted and ready to land.Sat, Feb 9, 12:04 PM
This revision was automatically updated to reflect the committed changes.