mirror of https://github.com/M66B/NetGuard.git
parent
4cc08ee9a6
commit
d5f7796907
|
@ -159,7 +159,7 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
|||
public Cursor getLog(String filter) {
|
||||
SQLiteDatabase db = this.getReadableDatabase();
|
||||
String query = "SELECT ID AS _id, * FROM log";
|
||||
query += " WHERE ip LIKE ?";
|
||||
query += " WHERE ip like ?";
|
||||
query += " ORDER BY time DESC";
|
||||
|
||||
return db.rawQuery(query, new String[]{"%" + filter + "%"});
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:netguard="http://schemas.android.com/apk/res-auto">
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/menu_enabled"
|
||||
android:checkable="true"
|
||||
|
|
Loading…
Reference in New Issue