Messaging: Fix modifiers

We either have too few or too many

Change-Id: I09a9a38b859c68526fcbcdbc7862afe1d693f6c0
This commit is contained in:
Michael W
2024-12-26 14:55:12 +01:00
parent 37d6d70835
commit 21cb2b6289
78 changed files with 528 additions and 464 deletions
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2015 The Android Open Source Project
* Copyright (C) 2024 The LineageOS Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -146,11 +147,11 @@ public abstract class MessageNotificationState extends NotificationState {
*/
static class MessageLineInfo extends NotificationLineInfo {
final CharSequence mText;
Uri mAttachmentUri;
String mAttachmentType;
final Uri mAttachmentUri;
final String mAttachmentType;
final String mAuthorFullName;
final String mAuthorFirstName;
boolean mIsManualDownloadNeeded;
final boolean mIsManualDownloadNeeded;
final String mMessageId;
MessageLineInfo(final boolean isGroup, final String authorFullName,
@@ -792,7 +793,7 @@ public abstract class MessageNotificationState extends NotificationState {
* with notifications for other conversations on a wearable device.
*/
public static class BundledMessageNotificationState extends MultiMessageNotificationState {
public int mGroupOrder;
public final int mGroupOrder;
public BundledMessageNotificationState(final ConversationInfoList convList,
final int groupOrder) {
super(convList);