Fix off by one error.

Bug: 11475318
Change-Id: I046fc66713c54f355a3dc4e6b7b7b288a1450326
This commit is contained in:
Yu Ping Hu 2013-11-01 10:36:44 -07:00
parent 3ddd39b6f1
commit 1a6a3fe797

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