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

Issue 2485503002: Show warning dialog when user installs WebAPK when "installation from Unknown sources" is disabled (Closed)

Created:
4 years, 1 month ago by pkotwicz
Modified:
4 years, 1 month ago
Reviewers:
Xi Han, gone
CC:
chromium-reviews, dominickn+watch_chromium.org, pkotwicz+watch_chromium.org, zpeng+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show warning dialog when user installs WebAPK when "installation from Unknown sources" is disabled Currently, we detect if "installation from Unknown sources" is disabled and cause installation to silently fail. This behavior is confusing. This CL changes the behavior to show a warning dialog telling the user that the installation was blocked with a button to go to "Android Security Settings". This behavior is provided by default by the Android OS when an intent is sent to install an APK when "installation from Unknown sources" is disabled. BUG=662739 Committed: https://crrev.com/01ae00b9a5dbef08b338551f9e5d050059ecec1c Cr-Commit-Position: refs/heads/master@{#430361}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -28 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInstaller.java View 3 chunks +0 lines, -28 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
pkotwicz
Dan, can you please take a look?
4 years, 1 month ago (2016-11-06 19:45:08 UTC) #3
gone
lgtm
4 years, 1 month ago (2016-11-07 18:29:41 UTC) #5
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/2485503002/1
4 years, 1 month ago (2016-11-07 19:47:40 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-07 20:37:26 UTC) #9
commit-bot: I haz the power
4 years, 1 month ago (2016-11-07 21:18:48 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/01ae00b9a5dbef08b338551f9e5d050059ecec1c
Cr-Commit-Position: refs/heads/master@{#430361}

Powered by Google App Engine
This is Rietveld 408576698