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

Issue 2585823002: Revert "Revert of Implement GetDisplayed on android M+ (patchset #3 id:60001 of https://codereview.… (Closed)

Created:
4 years ago by Miguel Garcia
Modified:
4 years ago
Reviewers:
Avi (use Gerrit), peter
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org, awdf+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert "Revert of Implement GetDisplayed on android M+ (patchset #3 id:60001 of https://codereview.chromium.org/2536313003/ )" This reverts commit 06b647e40c84fb6d13e09b13eabfa201b0aa6a32. It also includes an extra null check in case no active notifications are returned. TBR=peter,avi BUG= Committed: https://crrev.com/ef0ab6b078544507d8ae76371bc962095858554d Cr-Commit-Position: refs/heads/master@{#439278}

Patch Set 1 #

Messages

Total messages: 20 (13 generated)
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/2585823002/1
4 years ago (2016-12-16 18:36:27 UTC) #7
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/2585823002/1
4 years ago (2016-12-16 18:56:58 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/87735)
4 years ago (2016-12-16 20:49:55 UTC) #12
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/2585823002/1
4 years ago (2016-12-17 00:34:17 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-17 01:28:25 UTC) #17
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/ef0ab6b078544507d8ae76371bc962095858554d Cr-Commit-Position: refs/heads/master@{#439278}
4 years ago (2016-12-17 01:32:17 UTC) #19
gone
4 years ago (2016-12-20 20:15:00 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2589333002/ by dfalcantara@chromium.org.

The reason for reverting is:
org.chromium.chrome.browser.push_messaging.PushMessagingTest#testDefaultNotification
is still failing consistently on the Marshmallow bots:

https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType...

Example log:
https://build.chromium.org/p/chromium.android/builders/Marshmallow%2064%20bit...

org.chromium.chrome.browser.push_messaging.PushMessagingTest#testDefaultNotification
(run #1):
junit.framework.AssertionFailedError: expected:<1> but was:<2>
	at
org.chromium.chrome.browser.notifications.NotificationTestBase.waitForNotification(NotificationTestBase.java:107)
	at
org.chromium.chrome.browser.push_messaging.PushMessagingTest.testDefaultNotification(PushMessagingTest.java:246)
	at
android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
	at
android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
	at
android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
	at
org.chromium.chrome.test.ChromeActivityTestCaseBase.runTest(ChromeActivityTestCaseBase.java:752)
	at
org.chromium.base.test.BaseTestResult.runParameterized(BaseTestResult.java:161)
	at org.chromium.base.test.BaseTestResult.run(BaseTestResult.java:124)
	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
	at
android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
	at
android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1879).

Powered by Google App Engine
This is Rietveld 408576698