ImmutableList<Message> b(List<Long> paramList) { if (paramList.isEmpty()); ImmutableList.Builder localBuilder; for (ImmutableList localImmutableList = ImmutableList.d(); ; localImmutableList = localBuilder.b()) { return localImmutableList; localBuilder = ImmutableList.e(); String str = "_id IN " + SqlUtil.a(paramList); Cursor localCursor = this.b.getContentResolver().query(Telephony.Sms.a, MmsSmsProjections.c, str, null, "date DESC"); try { if (localCursor.moveToNext()) localBuilder.b(a(localCursor)); } finally { localCursor.close(); } } }
void a(Collection<Long> paramCollection) { ContentValues localContentValues = new ContentValues(); localContentValues.put("read", Integer.valueOf(1)); this.b.getContentResolver().update(Telephony.Sms.a, localContentValues, "thread_id IN " + SqlUtil.a(paramCollection), null); }
private String c(List<Long> paramList) { return a("thread_id IN " + SqlUtil.a(paramList), null, paramList.size()); }