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

Issue 1339783004: [EnhancedBookmarks] Fix a crash on exiting while loading. (Closed)

Created:
5 years, 3 months ago by Kibeom Kim (inactive)
Modified:
5 years, 3 months ago
Reviewers:
Ian Wen, newt (away)
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Fix enhanced bookmark crash on exiting while loading. On phone, the close button on the top-right corner can be tapped while the bookmark UI is loading, which led to a crash. So make the exiting code doesn't depend on initialization. BUG=531337 Committed: https://crrev.com/3d1eeb5b1e01f197658953ac28f854e3aaf46121 Cr-Commit-Position: refs/heads/master@{#348731}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Activity -> Context #

Messages

Total messages: 11 (2 generated)
Kibeom Kim (inactive)
5 years, 3 months ago (2015-09-14 18:40:23 UTC) #2
newt (away)
Looks reasonable to me. Ian?
5 years, 3 months ago (2015-09-14 20:01:20 UTC) #3
Ian Wen
One small thing. I remember we used to discuss that casting from Context to Activity ...
5 years, 3 months ago (2015-09-14 20:14:22 UTC) #4
Kibeom Kim (inactive)
https://codereview.chromium.org/1339783004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkActionBar.java File chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkActionBar.java (right): https://codereview.chromium.org/1339783004/diff/1/chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkActionBar.java#newcode87 chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkActionBar.java:87: EnhancedBookmarkUtils.finishActivityOnPhone((Activity) getContext()); On 2015/09/14 20:14:22, Ian Wen wrote: > ...
5 years, 3 months ago (2015-09-14 20:29:11 UTC) #5
Ian Wen
lgtm. Thanks!
5 years, 3 months ago (2015-09-14 20:41:13 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1339783004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1339783004/20001
5 years, 3 months ago (2015-09-14 20:42:22 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-14 21:56:02 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/3d1eeb5b1e01f197658953ac28f854e3aaf46121 Cr-Commit-Position: refs/heads/master@{#348731}
5 years, 3 months ago (2015-09-14 21:56:32 UTC) #10
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:37:43 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3d1eeb5b1e01f197658953ac28f854e3aaf46121
Cr-Commit-Position: refs/heads/master@{#348731}

Powered by Google App Engine
This is Rietveld 408576698