D24550: Use AppDataLocation on Android

Nicolas Fella noreply at phabricator.kde.org
Thu Oct 10 22:01:19 BST 2019


nicolasfella created this revision.
nicolasfella added a reviewer: KStars.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
nicolasfella requested review of this revision.

REVISION SUMMARY
  GenericDataLocation isn't writable on Android without special permission. The creation of the user database thus fails leading to a crash at startup. Prevent this by using AppDataLocation, which is always accessible.

TEST PLAN
  Start app on Android, doesn't crash

REPOSITORY
  R321 KStars

BRANCH
  appdata

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

AFFECTED FILES
  kstars/auxiliary/kspaths.h

To: nicolasfella, #kstars
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20191010/058e58b1/attachment.html>


More information about the kde-edu mailing list