Update src/main/java/org/thoughtcrime/securesms/LogViewFragment.java

Co-authored-by: bjoern <r10s@b44t.com>
This commit is contained in:
Asiel Díaz Benítez
2024-09-19 16:14:49 -04:00
committed by GitHub
parent 4e6119b85d
commit 1757c417fa
@@ -259,7 +259,7 @@ public class LogViewFragment extends Fragment {
final String token = FcmReceiveService.getToken();
boolean notifPermGranted = PermissionChecker.checkSelfPermission(context, Manifest.permission.POST_NOTIFICATIONS) == PermissionChecker.PERMISSION_GRANTED;
builder.append("notifications-permission=").append(notifPermGranted).append("\n");
builder.append("post-notifications-granted=").append(notifPermGranted).append("\n");
builder.append("push-enabled=").append(Prefs.isPushEnabled(context)).append("\n");
builder.append("push-token=").append(token == null ? "<empty>" : token).append("\n");
} catch (Exception e) {