BluetoothOppNotification NotificationItem.timeStamp is int, too
small to be a timestamp
bug
6670668
Change-Id: Ieec5377bac3b8c7fbaa24d059ad5957ba9a0544f
int totalTotal = 0; // total bytes for current transfer
- int timeStamp = 0; // Database time stamp. Used for sorting ongoing transfers.
+ long timeStamp = 0; // Database time stamp. Used for sorting ongoing transfers.
String description; // the text above progress bar
mNotifications.clear();
for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) {
- int timeStamp = cursor.getInt(timestampIndex);
+ long timeStamp = cursor.getLong(timestampIndex);
int dir = cursor.getInt(directionIndex);
int id = cursor.getInt(idIndex);
int total = cursor.getInt(totalBytesIndex);