Work fork of an Android Jabber client for bridge users git.sr.ht/~singpolyma/cheogram-android
sopranica sgx xmpp jabber
0

Configure Feed

Select the types of activity you want to include in your feed.

Handle missing backup location picker

Catch ActivityNotFoundException when launching the backup location
picker. Devices without an OPEN_DOCUMENT_TREE handler now get the
existing no_application_found toast instead of crashing from the
preference tap.

Amolith (Apr 2, 2026, 5:11 PM -0600) 9900135a 9ddb808f

+7 -1
+7 -1
src/main/java/eu/siacs/conversations/ui/fragment/settings/BackupSettingsFragment.java
··· 1 1 package eu.siacs.conversations.ui.fragment.settings; 2 2 3 3 import android.Manifest; 4 + import android.content.ActivityNotFoundException; 4 5 import android.content.Intent; 5 6 import android.content.pm.PackageManager; 6 7 import android.net.Uri; ··· 94 95 } 95 96 96 97 private boolean onBackupLocationPreferenceClicked(final Preference preference) { 97 - this.pickBackupLocationLauncher.launch(null); 98 + try { 99 + this.pickBackupLocationLauncher.launch(null); 100 + } catch (final ActivityNotFoundException e) { 101 + Toast.makeText(requireActivity(), R.string.no_application_found, Toast.LENGTH_LONG) 102 + .show(); 103 + } 98 104 return false; 99 105 } 100 106