mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
parent
25b9244066
commit
51e0f218c9
1 changed files with 3 additions and 3 deletions
|
|
@ -80,11 +80,11 @@ public class RecentSearchesDao {
|
||||||
Timber.e(e, "query deleted");
|
Timber.e(e, "query deleted");
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
} finally {
|
} finally {
|
||||||
db.release();
|
db.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (RemoteException e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(e);
|
Timber.e(e, "Error while clearing history");
|
||||||
} finally {
|
} finally {
|
||||||
if (cursor != null) {
|
if (cursor != null) {
|
||||||
cursor.close();
|
cursor.close();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue