mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2025-06-21 14:56:27 +00:00
Really Fix https://github.com/nerzhul/ocsms/issues/39 problem, thanks @martin-rueegg
This commit is contained in:
parent
73fa4e8ad9
commit
48ec96f41b
@ -83,10 +83,6 @@ public class SmsFetcher {
|
|||||||
if (colName.equals(new String("_id")) ||
|
if (colName.equals(new String("_id")) ||
|
||||||
colName.equals(new String("type"))) {
|
colName.equals(new String("type"))) {
|
||||||
entry.put(colName, c.getInt(idx));
|
entry.put(colName, c.getInt(idx));
|
||||||
|
|
||||||
// bufferize Id for future use
|
|
||||||
if (colName.equals(new String("_id"))) {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// Seen and read must be pseudo boolean
|
// Seen and read must be pseudo boolean
|
||||||
else if (colName.equals(new String("read")) ||
|
else if (colName.equals(new String("read")) ||
|
||||||
@ -147,8 +143,7 @@ public class SmsFetcher {
|
|||||||
String colName = c.getColumnName(idx);
|
String colName = c.getColumnName(idx);
|
||||||
|
|
||||||
// Id column is must be an integer
|
// Id column is must be an integer
|
||||||
if (colName.equals(new String("_id")) ||
|
if (colName.equals(new String("_id"))) {
|
||||||
colName.equals(new String("type"))) {
|
|
||||||
entry.put(colName, c.getInt(idx));
|
entry.put(colName, c.getInt(idx));
|
||||||
}
|
}
|
||||||
// Seen and read must be pseudo boolean
|
// Seen and read must be pseudo boolean
|
||||||
@ -158,6 +153,7 @@ public class SmsFetcher {
|
|||||||
}
|
}
|
||||||
else if (colName.equals(new String("type"))) {
|
else if (colName.equals(new String("type"))) {
|
||||||
mboxId = c.getInt(idx);
|
mboxId = c.getInt(idx);
|
||||||
|
entry.put(colName, c.getInt(idx));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
entry.put(colName, c.getString(idx));
|
entry.put(colName, c.getString(idx));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user