1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 18:15:49 +01:00

s/moveToFirst/moveToNext

This commit is contained in:
cpfeiffer 2016-03-08 23:29:42 +01:00
parent 7e8281e8d4
commit 9643fa6062

View File

@ -67,7 +67,7 @@ public class K9Receiver extends BroadcastReceiver {
try { try {
if (c != null) { if (c != null) {
while (c.moveToFirst()) { while (c.moveToNext()) {
String uri = c.getString(c.getColumnIndex("uri")); String uri = c.getString(c.getColumnIndex("uri"));
if (uri.equals(uriWanted)) { if (uri.equals(uriWanted)) {
notificationSpec.sender = c.getString(c.getColumnIndex("senderAddress")); notificationSpec.sender = c.getString(c.getColumnIndex("senderAddress"));