Commit 72ed8366 authored by Jeevan Shikaram's avatar Jeevan Shikaram Committed by Commit Bot

[App Management] Fix non existent call of a function.

This CL replaces a non-existent function call with the function that
should be called.

Bug: 963326
Change-Id: I6d014b7a9eee69a73fafedf5359aa1b06270b4be
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1918779
Commit-Queue: Jeevan Shikaram <jshikaram@chromium.org>
Reviewed-by: default avatarMaggie Cai <mxcai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#715593}
parent 041f3052
......@@ -42,10 +42,8 @@ Polymer({
onClickExtensionsSettingsButton_: function() {
app_management.BrowserProxy.getInstance().handler.openNativeSettings(
this.app_.id);
chrome.metricsPrivate.recordEnumerationValue(
app_management.util.getAppHistogram(this.app_.type),
AppManagementUserAction.NativeSettingsOpened,
Object.keys(AppManagementUserAction).length);
app_management.util.recordAppManagementUserAction(
this.app_.type, AppManagementUserAction.NativeSettingsOpened);
},
/**
......
......@@ -129,7 +129,7 @@ Polymer({
/** @type {!Permission} */
let newPermission;
let newBoolState;
let newBoolState = false; // to keep the closure compiler happy.
switch (app_management.util.getPermission(this.app_, this.permissionType)
.valueType) {
......
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