mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Merge pull request #3988 from deltachat/adb/remove-selfreporting
remove "self report" option for now
This commit is contained in:
+2
-1
@@ -8,9 +8,10 @@
|
||||
* data saving: do not send Autocrypt header in read receipts
|
||||
* improve onboarding speed
|
||||
* don't show badge counter in app icon for the permanent background notification
|
||||
* fix sorting of old media in gallery
|
||||
* remove deprecated "companion app" code
|
||||
* remove deprecated "Watch Sent Folder" preference
|
||||
* fix sorting of old media in gallery
|
||||
* remove deprecated "send self-report" preference
|
||||
* don't show email address in shared vcard
|
||||
* update to core 2.23.0
|
||||
|
||||
|
||||
@@ -57,10 +57,6 @@ public class Rpc {
|
||||
return transport.callForResult(new TypeReference<String>(){}, "get_migration_error", mapper.valueToTree(accountId));
|
||||
}
|
||||
|
||||
public Integer draftSelfReport(Integer accountId) throws RpcException {
|
||||
return transport.callForResult(new TypeReference<Integer>(){}, "draft_self_report", mapper.valueToTree(accountId));
|
||||
}
|
||||
|
||||
/* Returns configuration value for the given key. */
|
||||
public String getConfig(Integer accountId, String key) throws RpcException {
|
||||
return transport.callForResult(new TypeReference<String>(){}, "get_config", mapper.valueToTree(accountId), mapper.valueToTree(key));
|
||||
|
||||
@@ -210,24 +210,6 @@ public class AdvancedPreferenceFragment extends ListSummaryPreferenceFragment
|
||||
});
|
||||
}
|
||||
|
||||
Preference selfReporting = this.findPreference("pref_self_reporting");
|
||||
if (selfReporting != null) {
|
||||
selfReporting.setOnPreferenceClickListener(((preference) -> {
|
||||
try {
|
||||
int chatId = getRpc(requireActivity()).draftSelfReport(dcContext.getAccountId());
|
||||
|
||||
Intent intent = new Intent(requireActivity(), ConversationActivity.class);
|
||||
intent.putExtra(ConversationActivity.CHAT_ID_EXTRA, chatId);
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
||||
requireActivity().startActivity(intent);
|
||||
} catch (RpcException e) {
|
||||
Log.e(TAG, "Error calling rpc.draftSelfReport()", e);
|
||||
}
|
||||
|
||||
return true;
|
||||
}));
|
||||
}
|
||||
|
||||
Preference proxySettings = this.findPreference("proxy_settings_button");
|
||||
if (proxySettings != null) {
|
||||
proxySettings.setOnPreferenceClickListener((preference) -> {
|
||||
|
||||
@@ -11,9 +11,6 @@
|
||||
android:summary="@string/enable_realtime_explain"
|
||||
android:title="@string/enable_realtime"/>
|
||||
|
||||
<Preference android:key="pref_self_reporting"
|
||||
android:title="@string/send_stats_to_devs"/>
|
||||
|
||||
<PreferenceCategory android:title="@string/pref_experimental_features">
|
||||
|
||||
<Preference android:key="pref_webxdc_store_url"
|
||||
|
||||
Reference in New Issue
Block a user