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

Issue 1248373003: [Android] Fix a crash on restoring ProtectedContentResetCredentialConfirmDialogFragment. (Closed)

Created:
5 years, 5 months ago by Kibeom Kim (inactive)
Modified:
5 years, 5 months ago
Reviewers:
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 a crash on restoring ProtectedContentResetCredentialConfirmDialogFragment. ProtectedContentResetCredentialConfirmDialogFragment doesn't support restoring from being destroyed, which caused a crash. Since this is not an important dialog to keep the context, simply dismiss if it's being restored. BUG=513238 Committed: https://crrev.com/81666e13c3da0290514d7656da86a28850928e05 Cr-Commit-Position: refs/heads/master@{#340207}

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove @return comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -4 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/preferences/ProtectedContentResetCredentialConfirmDialogFragment.java View 1 2 chunks +9 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleCategoryPreferences.java View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Kibeom Kim (inactive)
5 years, 5 months ago (2015-07-23 17:55:42 UTC) #2
newt (away)
Could you make this even simpler and just call DialogFragment.setRetainInstance(false) ?
5 years, 5 months ago (2015-07-23 19:45:46 UTC) #3
newt (away)
Could you make this even simpler and just call DialogFragment.setRetainInstance(false) ?
5 years, 5 months ago (2015-07-23 19:45:47 UTC) #4
Kibeom Kim (inactive)
On 2015/07/23 19:45:47, newt wrote: > Could you make this even simpler and just call ...
5 years, 5 months ago (2015-07-23 20:45:13 UTC) #5
newt (away)
lgtm https://codereview.chromium.org/1248373003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/preferences/ProtectedContentResetCredentialConfirmDialogFragment.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/ProtectedContentResetCredentialConfirmDialogFragment.java (right): https://codereview.chromium.org/1248373003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/preferences/ProtectedContentResetCredentialConfirmDialogFragment.java#newcode37 chrome/android/java/src/org/chromium/chrome/browser/preferences/ProtectedContentResetCredentialConfirmDialogFragment.java:37: * @return Created {@link ProtectedContentResetCredentialConfirmDialogFragment} instance. I'd consider ...
5 years, 5 months ago (2015-07-23 21:00:10 UTC) #6
Kibeom Kim (inactive)
https://codereview.chromium.org/1248373003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/preferences/ProtectedContentResetCredentialConfirmDialogFragment.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/ProtectedContentResetCredentialConfirmDialogFragment.java (right): https://codereview.chromium.org/1248373003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/preferences/ProtectedContentResetCredentialConfirmDialogFragment.java#newcode37 chrome/android/java/src/org/chromium/chrome/browser/preferences/ProtectedContentResetCredentialConfirmDialogFragment.java:37: * @return Created {@link ProtectedContentResetCredentialConfirmDialogFragment} instance. On 2015/07/23 21:00:10, ...
5 years, 5 months ago (2015-07-23 22:42:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248373003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248373003/20001
5 years, 5 months ago (2015-07-23 22:42:33 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 5 months ago (2015-07-23 23:21:30 UTC) #11
commit-bot: I haz the power
5 years, 5 months ago (2015-07-23 23:22:12 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/81666e13c3da0290514d7656da86a28850928e05
Cr-Commit-Position: refs/heads/master@{#340207}

Powered by Google App Engine
This is Rietveld 408576698