#1351 - Fix new conversation not being created on Huawei devices

This commit is contained in:
moezbhatti
2019-07-27 14:04:22 -04:00
parent 04ea57ebb0
commit da28edc782
4 changed files with 57 additions and 43 deletions
@@ -66,9 +66,9 @@ class CursorToConversationImpl @Inject constructor(
}
}
override fun getConversationsCursor(lastSync: Long): Cursor? {
override fun getConversationsCursor(): Cursor? {
return when (permissionManager.hasReadSms()) {
true -> context.contentResolver.query(URI, PROJECTION, "date > $lastSync", null, "date desc")
true -> context.contentResolver.query(URI, PROJECTION, null, null, "date desc")
false -> null
}
}