s/moveToFirst/moveToNext
This commit is contained in:
parent
7e8281e8d4
commit
9643fa6062
|
@ -67,7 +67,7 @@ public class K9Receiver extends BroadcastReceiver {
|
|||
|
||||
try {
|
||||
if (c != null) {
|
||||
while (c.moveToFirst()) {
|
||||
while (c.moveToNext()) {
|
||||
String uri = c.getString(c.getColumnIndex("uri"));
|
||||
if (uri.equals(uriWanted)) {
|
||||
notificationSpec.sender = c.getString(c.getColumnIndex("senderAddress"));
|
||||
|
|
Loading…
Reference in New Issue