cnz 4 months ago
parent 03fe62899b
commit 38db399fdb

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package net.micode.notes.data;//导入包666666666666666666666666666666666 package net.micode.notes.data;//导入包
import android.content.Context; import android.content.Context;
import android.database.Cursor; import android.database.Cursor;
@ -40,7 +40,7 @@ public class Contact {//创建类
if(sContactCache == null) { if(sContactCache == null) {
sContactCache = new HashMap<String, String>(); sContactCache = new HashMap<String, String>();
} }
// 检查缓存
if(sContactCache.containsKey(phoneNumber)) { if(sContactCache.containsKey(phoneNumber)) {
return sContactCache.get(phoneNumber); return sContactCache.get(phoneNumber);
} }

Loading…
Cancel
Save