Keep permission prefixes
F-Droid server strips "android.permission." from permissions in https://gitlab.com/fdroid/fdroidserver/blob/master/fdroidserver/update.py#L535 I suspect this was implemented to display them easily. However in the client we must again add this prefix, and only for permissions that had this previously, which is not a good way to handle permissions in my opinion, there could be corner cases...
For now I implemented a hack in https://gitlab.com/fdroid/fdroidclient/commit/3eb1e69bd38c5a495fcdaa85117bda3477333c5b (part of https://gitlab.com/fdroid/fdroidclient/merge_requests/322) that adds this prefix if no dot is inside the String, which is really hacky.
An example how it currently looks inside index.xml
<permissions>BIND_APPWIDGET,READ_EXTERNAL_STORAGE,VIBRATE,READ_CONTACTS,RESTART_PACKAGES,WRITE_SETTINGS,CALL_PHONE,EXPAND_STATUS_BAR,GET_TASKS,READ_CALL_LOG,SET_WALLPAPER,WRITE_EXTERNAL_STORAGE,org.adw.launcher.permission.READ_SETTINGS,org.adw.launcher.permission.WRITE_SETTINGS,PERSISTENT_ACTIVITY,SET_WALLPAPER_HINTS</permissions>
Can we change the behavior of F-Droid server to not remove this prefixes? Maybe adding a new tag and leave the old inside index.xml for backward compatibility for 6 month or something? Feedback/opinions how to fix this more properly?