Also upload preferences
This commit is contained in:
parent
9651f3d22e
commit
09b81093dc
|
@ -394,6 +394,12 @@ object OpenHumansUploader : PluginBase(
|
||||||
applicationInfo.put("hasGitInfo", hasGitInfo)
|
applicationInfo.put("hasGitInfo", hasGitInfo)
|
||||||
applicationInfo.put("customRemote", customRemote)
|
applicationInfo.put("customRemote", customRemote)
|
||||||
applicationInfo.put("applicationId", appId.toString())
|
applicationInfo.put("applicationId", appId.toString())
|
||||||
|
zos.writeFile("ApplicationInfo.json", applicationInfo.toString().toByteArray())
|
||||||
|
tags.add("ApplicationInfo")
|
||||||
|
|
||||||
|
val preferences = JSONObject(SP.sharedPreferences.all.filterKeys { it.isAllowedKey() })
|
||||||
|
zos.writeFile("Preferences.json", preferences.toString().toByteArray())
|
||||||
|
tags.add("Preferences")
|
||||||
|
|
||||||
val deviceInfo = JSONObject()
|
val deviceInfo = JSONObject()
|
||||||
deviceInfo.put("brand", Build.BRAND)
|
deviceInfo.put("brand", Build.BRAND)
|
||||||
|
|
Loading…
Reference in a new issue