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

Issue 2613573003: Fix blank NTP bug on Clank. (Closed)

Created:
3 years, 11 months ago by Alexei Svitkine (slow)
Modified:
3 years, 11 months ago
Reviewers:
Ted C
CC:
chromium-reviews, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix blank NTP bug on Clank. This was a result of the FRE refactor work for first run experiments, which had moved FirstRunActivity creation to be before native init. As a result of that, the removeBackground() ChromeTabbedActivity ended up happening when the activity was not foreground, which apparently caused the bug. This change fixes it by making the removeBackground() call happen later, when the ChromeTabbedActivity is visible. The logic is such that we do it once both native init and window focus events have been received. BUG=673831 Committed: https://crrev.com/928bfdc6404ea14bc71c28ef3e483453c34d0c52 Cr-Commit-Position: refs/heads/master@{#441378}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -2 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java View 1 4 chunks +22 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
Alexei Svitkine (slow)
3 years, 11 months ago (2017-01-03 23:23:47 UTC) #3
Ted C
lgtm https://codereview.chromium.org/2613573003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java File chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java (right): https://codereview.chromium.org/2613573003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java#newcode1047 chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java:1047: private void possiblyRemoveWindowBackground() { tiniest of nits, but ...
3 years, 11 months ago (2017-01-04 00:30:04 UTC) #8
Alexei Svitkine (slow)
https://codereview.chromium.org/2613573003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java File chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java (right): https://codereview.chromium.org/2613573003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java#newcode1047 chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java:1047: private void possiblyRemoveWindowBackground() { On 2017/01/04 00:30:04, Ted C ...
3 years, 11 months ago (2017-01-04 15:09:36 UTC) #9
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/2613573003/40001
3 years, 11 months ago (2017-01-04 15:09:53 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:40001)
3 years, 11 months ago (2017-01-04 15:42:55 UTC) #15
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 15:45:38 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/928bfdc6404ea14bc71c28ef3e483453c34d0c52
Cr-Commit-Position: refs/heads/master@{#441378}

Powered by Google App Engine
This is Rietveld 408576698