am 294a4248: Merge "Fix off by one error." into jb-ub-mail-ur10

* commit '294a4248beae466c7aa19ad5b5683d35ed053f7a':
  Fix off by one error.
This commit is contained in:
Yu Ping Hu 2013-11-01 17:27:04 -07:00 committed by Android Git Automerger
commit 0fb9b9efe6

View File

@ -1260,10 +1260,10 @@ public final class DBHelper {
}
if (oldVersion <= 119) {
if (oldVersion >= 116) {
if (oldVersion >= 117) {
/**
* This trigger was originally created at version 116, but we needed to change
* it for version 120. So if our oldVersion is 116 or more, we know we have that
* This trigger was originally created at version 117, but we needed to change
* it for version 120. So if our oldVersion is 117 or more, we know we have that
* trigger and must drop it before re creating it.
*/
dropDeleteDuplicateMessagesTrigger(db);