public void a(Collection<UserKey> paramCollection) { Collection localCollection = UserKey.b(paramCollection); StringBuilder localStringBuilder = new StringBuilder(); localStringBuilder.append("fbid IN "); localStringBuilder.append(SqlUtil.b(localCollection)); SQLiteQueryBuilder localSQLiteQueryBuilder = new SQLiteQueryBuilder(); localSQLiteQueryBuilder.setTables("facebook_users"); localSQLiteQueryBuilder.appendWhere(localStringBuilder.toString()); this.d = localSQLiteQueryBuilder.query(this.a.b(), e, null, null, null, null, null); }
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()); }