Class Overview
Maintains a cache of photo priority per account type. During contact aggregation
photo with a higher priority is chosen for the the entire contact, barring an
explicit override by the user, which is captured as the is_superprimary flag
on the photo itself.
Summary
Public Methods |
synchronized
int
|
getPhotoPriority(String accountType)
Returns the photo priority for the specified account type.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Constants
public
static
final
int
DEFAULT_PRIORITY
Constant Value:
7
(0x00000007)
Public Constructors
public
PhotoPriorityResolver
(Context context)
Public Methods
public
synchronized
int
getPhotoPriority
(String accountType)
Returns the photo priority for the specified account type. Maintains cache
of photo priorities.