• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zulip / zulip-mobile / 7334 / 1
47%
master: 47%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2018 09:19PM UTC
Files 365
Run time 56s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Nov 2018 08:48PM UTC coverage: 65.336%. Remained the same
COVERALLS_REPO_TOKEN=4eYQDtWoBJlDz2QkxoQ2UcnmJFcOB7zkv

push

travis-ci

gnprice
android notif: Clear notification when all its messages are read.

Implements the Android side of #2634.  iOS still to go.

This isn't yet the ideal behavior -- if you get notified about two
messages and then read one of them, we'd like to update the
notification to reflect only what's still unread.  But it handles the
common case, for a 90% solution: you get some messages that notify
you, then you go catch up on that conversation.

The ideal behavior will wait for a broader overhaul of our Android
notifications code, which we're due for for a number of reasons
already.  The reason that blocks doing the right thing here is that
the data structure we currently keep around (in `conversations`) isn't
nearly adequate for it: when generating the text and metadata of the
notification, in `getNotificationBuilder`, we rely heavily on the
specific GCM message we just received (`getProps()`) for a number of
details including the sender's avatar, the message's topic if
applicable, and the time the message was sent.  After we're finished
handling that message, that data is gone, and we're unable to use it
in future updates.

1398 of 2930 branches covered (47.71%)

Branch coverage included in aggregate %.

4803 of 6561 relevant lines covered (73.21%)

38.17 hits per line

Source Files on job 7334.1 (COVERALLS_REPO_TOKEN=4eYQDtWoBJlDz2QkxoQ2UcnmJFcOB7zkv)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 23147
  • Travis Job 7334.1
  • a09ddeac on github
  • Prev Job for COVERALLS_REPO_TOKEN=4eYQDtWoBJlDz2QkxoQ2UcnmJFcOB7zkv on master (#3719.1)
  • Next Job for COVERALLS_REPO_TOKEN=4eYQDtWoBJlDz2QkxoQ2UcnmJFcOB7zkv on master (#7336.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc