add vendor and android version to 'about' section
that way a screenshot of the settings is a one stop shop for maintaining our broken device list
This commit is contained in:
parent
d1552c9397
commit
1d4d2c6664
|
@ -26,7 +26,7 @@ public class MainSettingsFragment extends PreferenceFragmentCompat {
|
|||
|
||||
private static final String CREATE_BACKUP = "create_backup";
|
||||
|
||||
private ActivityResultLauncher<String> requestStorageForBackupLauncher =
|
||||
private final ActivityResultLauncher<String> requestStorageForBackupLauncher =
|
||||
registerForActivityResult(
|
||||
new ActivityResultContracts.RequestPermission(),
|
||||
isGranted -> {
|
||||
|
@ -61,11 +61,13 @@ public class MainSettingsFragment extends PreferenceFragmentCompat {
|
|||
about.setTitle(getString(R.string.title_activity_about_x, BuildConfig.APP_NAME));
|
||||
about.setSummary(
|
||||
String.format(
|
||||
"%s %s %s (%s)",
|
||||
"%s %s %s @ %s · %s · %s",
|
||||
BuildConfig.APP_NAME,
|
||||
BuildConfig.VERSION_NAME,
|
||||
im.conversations.webrtc.BuildConfig.WEBRTC_VERSION,
|
||||
Strings.nullToEmpty(Build.DEVICE)));
|
||||
Strings.nullToEmpty(Build.MANUFACTURER),
|
||||
Strings.nullToEmpty(Build.DEVICE),
|
||||
Strings.nullToEmpty(Build.VERSION.RELEASE)));
|
||||
if (ConnectionSettingsFragment.hideChannelDiscovery()) {
|
||||
connection.setSummary(R.string.pref_connection_summary);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue