Commit a82b8f2f authored by nparker's avatar nparker Committed by Commit bot

Mark APK downloads as dangerous on Android

BUG=652907
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2393703003
Cr-Commit-Position: refs/heads/master@{#423013}
parent ddf32ac6
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
## ##
## Top level settings ## Top level settings
## ##
version_id: 4 version_id: 5
sampled_ping_probability: 0.01 sampled_ping_probability: 0.01
default_file_type { default_file_type {
uma_value: 18 uma_value: 18
...@@ -2638,6 +2638,8 @@ file_types { ...@@ -2638,6 +2638,8 @@ file_types {
## ##
## Android-specific files ## Android-specific files
## ##
# Android doesn't have real download-protection, but we can show a
# warning to provide a speed bump for dangerous file types.
file_types { file_types {
extension: "dex" extension: "dex"
uma_value: 143 uma_value: 143
...@@ -2649,8 +2651,12 @@ file_types { ...@@ -2649,8 +2651,12 @@ file_types {
} }
} }
file_types { file_types {
# Android download manager checks APKs
extension: "apk" extension: "apk"
uma_value: 20 uma_value: 20
ping_setting: FULL_PING ping_setting: FULL_PING
platform_settings {
platform: PLATFORM_ANDROID
danger_level: ALLOW_ON_USER_GESTURE
auto_open_hint: DISALLOW_AUTO_OPEN
}
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment