mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Fix various notification display issues and properly support reply.
This commit is contained in:
committed by
Greyson Parrelli
parent
5bbc4aea95
commit
a843619c5b
@@ -2,7 +2,9 @@ package org.thoughtcrime.securesms.preferences.widgets;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
public class NotificationPrivacyPreference {
|
||||
import java.util.Objects;
|
||||
|
||||
public final class NotificationPrivacyPreference {
|
||||
|
||||
private final String preference;
|
||||
|
||||
@@ -26,4 +28,17 @@ public class NotificationPrivacyPreference {
|
||||
public @NonNull String toString() {
|
||||
return preference;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
final NotificationPrivacyPreference that = (NotificationPrivacyPreference) o;
|
||||
return Objects.equals(preference, that.preference);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(preference);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user