Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Issue 2833493002: [Media>UI] Apply throttling if the notification is updated too frequently (Closed)

Created:
3 years, 8 months ago by Zhiqiang Zhang (Slow)
Modified:
3 years, 8 months ago
Reviewers:
whywhat
CC:
agrieve+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Media>UI] Apply throttling if the notification is updated too frequently There's a issue where the notification is updated too frequently (especially when the media metadata or fallback media metadata changes), which can cause the system UI to be very janky or even a system crash. This CL throttles the notification update if the notification has been updated during the previous 500ms. BUG=711730 Review-Url: https://codereview.chromium.org/2833493002 Cr-Commit-Position: refs/heads/master@{#466651} Committed: https://chromium.googlesource.com/chromium/src/+/bf4103d69a0d7e289266c9671c2b980d585c0d5a

Patch Set 1 #

Total comments: 8

Patch Set 2 : addressed nits #

Patch Set 3 : rebased and fixed tests #

Messages

Total messages: 21 (14 generated)
Zhiqiang Zhang (Slow)
3 years, 8 months ago (2017-04-19 15:57:53 UTC) #3
whywhat
See my comment on the bug with thoughts on other fixes we can try.
3 years, 8 months ago (2017-04-20 12:12:45 UTC) #7
whywhat
https://codereview.chromium.org/2833493002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java File chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java (right): https://codereview.chromium.org/2833493002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java#newcode159 chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java:159: // The queued notification info. If non-null, it will ...
3 years, 8 months ago (2017-04-20 19:34:59 UTC) #8
Zhiqiang Zhang (Slow)
PTAL w/ replies. https://codereview.chromium.org/2833493002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java File chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java (right): https://codereview.chromium.org/2833493002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java#newcode159 chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java:159: // The queued notification info. If ...
3 years, 8 months ago (2017-04-20 21:40:44 UTC) #9
whywhat
lgtm
3 years, 8 months ago (2017-04-20 22:33:02 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2833493002/40001
3 years, 8 months ago (2017-04-24 14:59:45 UTC) #17
commit-bot: I haz the power
3 years, 8 months ago (2017-04-24 16:29:11 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/bf4103d69a0d7e289266c9671c2b...

Powered by Google App Engine
This is Rietveld 408576698