forked from upstream-mirrors/quik
Clean up logging
This commit is contained in:
@@ -31,7 +31,6 @@ import android.widget.Toast;
|
||||
*/
|
||||
|
||||
public final class SqliteWrapper {
|
||||
private static final String TAG = "SqliteWrapper";
|
||||
private static final String SQLITE_EXCEPTION_DETAIL_MESSAGE
|
||||
= "unable to open database file";
|
||||
|
||||
@@ -58,7 +57,7 @@ public final class SqliteWrapper {
|
||||
try {
|
||||
return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
|
||||
} catch (SQLiteException e) {
|
||||
Timber.e("Catch a SQLiteException when query: ", e);
|
||||
Timber.e(e, "Catch a SQLiteException when query: ");
|
||||
checkSQLiteException(context, e);
|
||||
return null;
|
||||
}
|
||||
@@ -69,7 +68,7 @@ public final class SqliteWrapper {
|
||||
try {
|
||||
return cursor.requery();
|
||||
} catch (SQLiteException e) {
|
||||
Timber.e("Catch a SQLiteException when requery: ", e);
|
||||
Timber.e(e, "Catch a SQLiteException when requery: ");
|
||||
checkSQLiteException(context, e);
|
||||
return false;
|
||||
}
|
||||
@@ -80,7 +79,7 @@ public final class SqliteWrapper {
|
||||
try {
|
||||
return resolver.update(uri, values, where, selectionArgs);
|
||||
} catch (SQLiteException e) {
|
||||
Timber.e("Catch a SQLiteException when update: ", e);
|
||||
Timber.e(e, "Catch a SQLiteException when update: ");
|
||||
checkSQLiteException(context, e);
|
||||
return -1;
|
||||
}
|
||||
@@ -91,7 +90,7 @@ public final class SqliteWrapper {
|
||||
try {
|
||||
return resolver.delete(uri, where, selectionArgs);
|
||||
} catch (SQLiteException e) {
|
||||
Timber.e("Catch a SQLiteException when delete: ", e);
|
||||
Timber.e(e, "Catch a SQLiteException when delete: ");
|
||||
checkSQLiteException(context, e);
|
||||
return -1;
|
||||
}
|
||||
@@ -102,7 +101,7 @@ public final class SqliteWrapper {
|
||||
try {
|
||||
return resolver.insert(uri, values);
|
||||
} catch (SQLiteException e) {
|
||||
Timber.e("Catch a SQLiteException when insert: ", e);
|
||||
Timber.e(e, "Catch a SQLiteException when insert: ");
|
||||
checkSQLiteException(context, e);
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -32,7 +32,6 @@ import java.util.Set;
|
||||
* @hide
|
||||
*/
|
||||
public class LinkCapabilities implements Parcelable {
|
||||
private static final String TAG = "LinkCapabilities";
|
||||
private static final boolean DBG = false;
|
||||
|
||||
/**
|
||||
|
||||
@@ -30,9 +30,6 @@ import java.util.Collection;
|
||||
* {@hide}
|
||||
*/
|
||||
public class NetworkUtilsHelper {
|
||||
|
||||
private static final String TAG = "NetworkUtils";
|
||||
|
||||
/**
|
||||
* Bring the named network interface up.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user