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

Commit 545fa554 authored by Zhihai Xu's avatar Zhihai Xu Committed by Android (Google) Code Review
Browse files

Merge "resource leakage in bluetooth MAP when empty message in phone." into klp-dev

parents ac321965 98486ea0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1159,8 +1159,8 @@ public class BluetoothMapContentObserver {
                Sms.moveMessageToFolder(mContext, msgInfo.uri,
                    Sms.MESSAGE_TYPE_FAILED, 0);
            } while (c.moveToNext());
            c.close();
        }
        if (c != null) c.close();
    }

    private void removeDeletedMessages() {