mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 03:18:41 +00:00
Bug 933775 - Fix download timestamp by changing 'when' parameter to contain time since epoch. r=wesj
This commit is contained in:
parent
05a5241c15
commit
4200c52b01
@ -237,7 +237,7 @@ public final class NotificationHelper implements GeckoEventListener {
|
|||||||
builder.setOngoing(ongoing);
|
builder.setOngoing(ongoing);
|
||||||
|
|
||||||
if (message.has(WHEN_ATTR)) {
|
if (message.has(WHEN_ATTR)) {
|
||||||
int when = message.optInt(WHEN_ATTR);
|
long when = message.optLong(WHEN_ATTR);
|
||||||
builder.setWhen(when);
|
builder.setWhen(when);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user