mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 11:05:25 +00:00
0cb2404735
* Old Gingerbread code removed. * Add missing super call.
25 lines
619 B
Java
25 lines
619 B
Java
package org.thoughtcrime.securesms.contacts;
|
|
|
|
import android.content.Context;
|
|
import android.net.Uri;
|
|
|
|
import java.util.List;
|
|
|
|
public abstract class ContactIdentityManager {
|
|
|
|
public static ContactIdentityManager getInstance(Context context) {
|
|
return new ContactIdentityManagerICS(context);
|
|
}
|
|
|
|
protected final Context context;
|
|
|
|
public ContactIdentityManager(Context context) {
|
|
this.context = context.getApplicationContext();
|
|
}
|
|
|
|
public abstract Uri getSelfIdentityUri();
|
|
public abstract boolean isSelfIdentityAutoDetected();
|
|
public abstract List<Long> getSelfIdentityRawContactIds();
|
|
|
|
}
|