mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-01 12:54:07 +00:00
parent
c665f114b4
commit
55eeda5bf9
1 changed files with 2 additions and 2 deletions
|
@ -277,9 +277,9 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
|||
SQLiteDatabase db = this.getReadableDatabase();
|
||||
String query = "SELECT ID AS _id, *";
|
||||
query += " FROM log";
|
||||
query += " WHERE daddr LIKE ? OR uid LIKE ?";
|
||||
query += " WHERE daddr LIKE ? OR dport = ? OR uid LIKE ?";
|
||||
query += " ORDER BY time DESC";
|
||||
return db.rawQuery(query, new String[]{"%" + find + "%", "%" + find + "%"});
|
||||
return db.rawQuery(query, new String[]{"%" + find + "%", find, "%" + find + "%"});
|
||||
}
|
||||
|
||||
// Access
|
||||
|
|
Loading…
Reference in a new issue