Skip to content

Commit

Permalink
slight change
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanchun-li committed Aug 14, 2017
1 parent 04d27fb commit bb8dfae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -12,7 +12,7 @@ class PStreamDBHelper private constructor(var context: Context)
: SQLiteOpenHelper(context, DB_NAME, null, DB_VERSION) {

companion object {
val DB_VERSION = 2
val DB_VERSION = 1
val DB_NAME = "privacystreams.db"

private var instance: PStreamDBHelper? = null
Expand Down
Expand Up @@ -61,7 +61,7 @@ class TableUIEvent(dbHelper: PStreamDBHelper) : PStreamTable(dbHelper) {
val accEventStr = "" + IOUtils.serialize(accEvent)
values.put(TIME_CREATED, input.getAsLong(AccEvent.TIME_CREATED))
values.put(EVENT_TYPE, input.getAsInteger(AccEvent.EVENT_TYPE))
values.put(EVENT_TIME, input.getAsInteger(AccEvent.EVENT_TIME))
values.put(EVENT_TIME, input.getAsLong(AccEvent.EVENT_TIME))
values.put(PACKAGE_NAME, input.getAsString(AccEvent.PACKAGE_NAME))
values.put(ROOT_NODE_JSON, rootNodeStr)
values.put(EVENT_JSON, accEventStr)
Expand Down

0 comments on commit bb8dfae

Please sign in to comment.