Messaging: Remove unused code
Change-Id: I8093bb3e305ae323f7069bf42f9e83f8c8647cc7
This commit is contained in:
@@ -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.
|
||||
@@ -23,7 +24,6 @@ import com.android.ex.chips.RecipientEntry;
|
||||
import com.android.messaging.Factory;
|
||||
import com.android.messaging.R;
|
||||
import com.android.messaging.datamodel.BugleRecipientEntry;
|
||||
import com.android.messaging.datamodel.data.ParticipantData;
|
||||
|
||||
/**
|
||||
* Provides utility methods around creating RecipientEntry instance specific to Bugle's needs.
|
||||
@@ -105,11 +105,4 @@ public class ContactRecipientEntryUtils {
|
||||
public static boolean isSendToDestinationContact(final RecipientEntry entry) {
|
||||
return entry.getContactId() == CONTACT_ID_SENDTO_DESTINATION;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the given participant is a special send to number item.
|
||||
*/
|
||||
public static boolean isSendToDestinationContact(final ParticipantData participant) {
|
||||
return participant.getContactId() == CONTACT_ID_SENDTO_DESTINATION;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user