示例#1
0
 void invalidate() {
   // Don't remove the contacts. Just mark them stale so we'll update their
   // info, particularly their presence.
   synchronized (ContactsCache.this) {
     for (ArrayList<Contact> alc : mContactsHash.values()) {
       for (Contact c : alc) {
         synchronized (c) {
           c.mIsStale = true;
         }
       }
     }
   }
 }