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

Issue 1327103003: Handle ActivityNotFoundException when selecting client cert (Closed)

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

Description

Handle ActivityNotFoundException when selecting client cert Calling KeyChain#choosePrivateKeyAlias calls through to Context#startActivity, which can throw an ActivityNotFoundException. This change catches that exception and, instead of crashing, shows a dialog that explains that selecting client certs is not supported on that platform. TEST=SSLClientCertificateRequestTest BUG=529513 Committed: https://crrev.com/80c449f6fab63e2ccfb8c15a09a2da6a60eb24ae Cr-Commit-Position: refs/heads/master@{#348442}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Updated string descriptions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -2 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java View 4 chunks +95 lines, -2 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/android/junit/src/org/chromium/chrome/browser/SSLClientCertificateRequestTest.java View 1 chunk +62 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Ian Cullinan
PTAL
5 years, 3 months ago (2015-09-09 00:11:46 UTC) #2
newt (away)
https://codereview.chromium.org/1327103003/diff/1/chrome/android/java/strings/android_chrome_strings.grd File chrome/android/java/strings/android_chrome_strings.grd (right): https://codereview.chromium.org/1327103003/diff/1/chrome/android/java/strings/android_chrome_strings.grd#newcode2248 chrome/android/java/strings/android_chrome_strings.grd:2248: <message name="IDS_CLIENT_CERT_UNSUPPORTED_TITLE" desc="Title of a dialog box for when ...
5 years, 3 months ago (2015-09-09 20:39:15 UTC) #4
Ian Cullinan
On 2015/09/09 20:39:15, newt wrote: > https://codereview.chromium.org/1327103003/diff/1/chrome/android/java/strings/android_chrome_strings.grd > File chrome/android/java/strings/android_chrome_strings.grd (right): > > https://codereview.chromium.org/1327103003/diff/1/chrome/android/java/strings/android_chrome_strings.grd#newcode2248 > ...
5 years, 3 months ago (2015-09-09 21:21:16 UTC) #5
newt (away)
On 2015/09/09 21:21:16, Ian Cullinan wrote: > On 2015/09/09 20:39:15, newt wrote: > > > ...
5 years, 3 months ago (2015-09-09 23:21:31 UTC) #6
Yaron
lgtm thanks
5 years, 3 months ago (2015-09-11 17:24:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327103003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327103003/20001
5 years, 3 months ago (2015-09-11 17:28:23 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-11 18:29:14 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/80c449f6fab63e2ccfb8c15a09a2da6a60eb24ae Cr-Commit-Position: refs/heads/master@{#348442}
5 years, 3 months ago (2015-09-11 18:30:08 UTC) #11
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:24:28 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/80c449f6fab63e2ccfb8c15a09a2da6a60eb24ae
Cr-Commit-Position: refs/heads/master@{#348442}

Powered by Google App Engine
This is Rietveld 408576698