Prevent CME w/ sServiceList
Bug: 6854037 Change-Id: I0b9aadfa0b347c62bf8a3b0c5ec88330871cce2d
This commit is contained in:
parent
00287c4d8f
commit
54b6b8b072
@ -191,10 +191,12 @@ public class EmailServiceUtils {
|
||||
}
|
||||
|
||||
public static List<EmailServiceInfo> getServiceInfoList(Context context) {
|
||||
if (sServiceList.isEmpty()) {
|
||||
findServices(context);
|
||||
synchronized(sServiceList) {
|
||||
if (sServiceList.isEmpty()) {
|
||||
findServices(context);
|
||||
}
|
||||
return sServiceList;
|
||||
}
|
||||
return sServiceList;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user