mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Update src/main/java/org/thoughtcrime/securesms/LogViewFragment.java
Co-authored-by: bjoern <r10s@b44t.com>
This commit is contained in:
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) {
|
||||
|
||||
Reference in New Issue
Block a user