Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f2ed5861 authored by d34d's avatar d34d Committed by Steve Kondik
Browse files

Spam: Close writable DB after use

Writable DBs in the SpamMessageProvider were not being closed due
to the way the methods were chained together.  This patch gets an
instance of a writable SQLiteDatabase and then closes that instance
after performing the required operations.

This patch also removes the moveToFirst call in the MESSAGE query.

Change-Id: Ibe29aaa553b9c1d06cd39bf6c95d6d6f571b9f12
parent a5ab708c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment