mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-29 15:51:17 +00:00
* model/Options: Add crash*, stun* and unackedNotificationID * ConfigXml: Dismiss unackedNotificationID "crAutoEnabled" * ConfigXml/getOptions: Add unackedNotificationID, crash*, stun* * prefs/Syncthing: Add "Anonymous crash reporting" checkbox (fixes #421) * Imported de translation
This commit is contained in:
parent
d1f9bdf9f4
commit
090cb19dd1
4 changed files with 15 additions and 0 deletions
|
@ -195,6 +195,7 @@ public class SettingsActivity extends SyncthingActivity {
|
|||
private CheckBoxPreference mWebUIRemoteAccess;
|
||||
private CheckBoxPreference mRestartOnWakeup;
|
||||
private CheckBoxPreference mUrAccepted;
|
||||
private CheckBoxPreference mCrashReportingEnabled;
|
||||
private CheckBoxPreference mWebUIDebugging;
|
||||
private Preference mDownloadSupportBundle;
|
||||
|
||||
|
@ -342,6 +343,7 @@ public class SettingsActivity extends SyncthingActivity {
|
|||
mSyncthingApiKey = findPreference(KEY_SYNCTHING_API_KEY);
|
||||
mRestartOnWakeup = (CheckBoxPreference) findPreference("restartOnWakeup");
|
||||
mUrAccepted = (CheckBoxPreference) findPreference("urAccepted");
|
||||
mCrashReportingEnabled = (CheckBoxPreference) findPreference("crashReportingEnabled");
|
||||
mWebUIDebugging = (CheckBoxPreference) findPreference(KEY_WEBUI_DEBUGGING);
|
||||
mDownloadSupportBundle = findPreference(KEY_DOWNLOAD_SUPPORT_BUNDLE);
|
||||
Preference undoIgnoredDevicesFolders = findPreference(KEY_UNDO_IGNORED_DEVICES_FOLDERS);
|
||||
|
@ -540,6 +542,7 @@ public class SettingsActivity extends SyncthingActivity {
|
|||
mGlobalAnnounceServers.setText(joiner.join(mOptions.globalAnnounceServers));
|
||||
mRestartOnWakeup.setChecked(mOptions.restartOnWakeup);
|
||||
mUrAccepted.setChecked(mRestApi.isUsageReportingAccepted());
|
||||
mCrashReportingEnabled.setChecked(mOptions.crashReportingEnabled);
|
||||
}
|
||||
|
||||
// Web GUI tcp port and bind ip address.
|
||||
|
@ -706,6 +709,9 @@ public class SettingsActivity extends SyncthingActivity {
|
|||
mRestApi.setUsageReporting((boolean) o);
|
||||
mOptions = mRestApi.getOptions();
|
||||
break;
|
||||
case "crashReportingEnabled":
|
||||
mOptions.crashReportingEnabled = (boolean) o;
|
||||
break;
|
||||
case KEY_WEBUI_DEBUGGING:
|
||||
mGui.debugging = (boolean) o;
|
||||
|
||||
|
|
|
@ -526,6 +526,8 @@ Bitte melden Sie auftretende Probleme via GitHub.</string>
|
|||
|
||||
<string name="usage_reporting">Anonymer Nutzungsbericht</string>
|
||||
|
||||
<string name="crash_reporting">Anonymer Absturzbericht</string>
|
||||
|
||||
<string name="webui_tcp_port_title">Web UI TCP Port</string>
|
||||
|
||||
<string name="webui_remote_access_title">Web UI Fernzugriff</string>
|
||||
|
|
|
@ -529,6 +529,8 @@ Please report any problems you encounter via Github.</string>
|
|||
|
||||
<string name="usage_reporting">Anonymous Usage Reporting</string>
|
||||
|
||||
<string name="crash_reporting">Anonymous Crash Reporting</string>
|
||||
|
||||
<string name="webui_tcp_port_title">Web UI TCP Port</string>
|
||||
|
||||
<string name="webui_remote_access_title">Web UI remote access</string>
|
||||
|
|
|
@ -223,6 +223,11 @@
|
|||
android:title="@string/usage_reporting"
|
||||
android:persistent="false" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:key="crashReportingEnabled"
|
||||
android:title="@string/crash_reporting"
|
||||
android:persistent="false" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:key="webUIDebugging"
|
||||
android:title="@string/webui_debugging_title"
|
||||
|
|
Loading…
Reference in a new issue