mirror of
https://github.com/oxen-io/session-android.git
synced 2025-07-12 18:48:34 +00:00
Include whether a user has a linked device in the debug log.
This commit is contained in:
parent
da9064b714
commit
5ce09defca
@ -58,6 +58,7 @@ public class LogSectionSystemInfo implements LogSection {
|
||||
builder.append("Play Services : ").append(getPlayServicesString(context)).append("\n");
|
||||
builder.append("FCM : ").append(!TextSecurePreferences.isFcmDisabled(context)).append("\n");
|
||||
builder.append("Locale : ").append(Locale.getDefault().toString()).append("\n");
|
||||
builder.append("Linked Devices: ").append(TextSecurePreferences.isMultiDevice(context)).append("\n");
|
||||
builder.append("First Version : ").append(TextSecurePreferences.getFirstInstallVersion(context)).append("\n");
|
||||
builder.append("App : ");
|
||||
try {
|
||||
@ -65,6 +66,8 @@ public class LogSectionSystemInfo implements LogSection {
|
||||
.append(" ")
|
||||
.append(pm.getPackageInfo(context.getPackageName(), 0).versionName)
|
||||
.append(" (")
|
||||
.append(BuildConfig.CANONICAL_VERSION_CODE)
|
||||
.append(", ")
|
||||
.append(Util.getManifestApkVersion(context))
|
||||
.append(")\n");
|
||||
} catch (PackageManager.NameNotFoundException nnfe) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user