Remove untrusted sources installation flow.
This model of installation involved a user having to lower the security level
of their device to allow apps to install APKs. It was only used for developer
and preview purposes. It's no longer necessary so clean things up.
BUG=708274
Review-Url: https://codereview.chromium.org/2791983003
Cr-Commit-Position: refs/heads/master@{#462462}
diff --git a/chrome/browser/android/shortcut_helper.cc b/chrome/browser/android/shortcut_helper.cc
index 9a0674f4..4016277 100644
--- a/chrome/browser/android/shortcut_helper.cc
+++ b/chrome/browser/android/shortcut_helper.cc
@@ -161,12 +161,7 @@
const WebApkInstallService::FinishCallback& callback) {
WebApkInstallService::Get(web_contents->GetBrowserContext())
->InstallAsync(info, icon_bitmap, callback);
- // Don't record metric for users who install WebAPKs via "unsigned sources"
- // flow.
- if (ChromeWebApkHost::GetGooglePlayInstallState() ==
- GooglePlayInstallState::SUPPORTED) {
- webapk::TrackGooglePlayInstallState(GooglePlayInstallState::SUPPORTED);
- }
+ webapk::TrackGooglePlayInstallState(GooglePlayInstallState::SUPPORTED);
}
void ShortcutHelper::ShowWebApkInstallInProgressToast() {