s/moveToFirst/moveToNext

This commit is contained in:
cpfeiffer 2016-03-08 23:29:42 +01:00
parent 7e8281e8d4
commit 9643fa6062
1 changed files with 1 additions and 1 deletions

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"));