diff --git a/src/com/android/settings/applications/InstalledAppDetails.java b/src/com/android/settings/applications/InstalledAppDetails.java index 2f44d3ec3f1..ccd91fdbcc7 100755 --- a/src/com/android/settings/applications/InstalledAppDetails.java +++ b/src/com/android/settings/applications/InstalledAppDetails.java @@ -982,11 +982,9 @@ public class InstalledAppDetails extends AppInfoBase } else { mMetricsFeatureProvider.action( getActivity(), - mAppEntry.info.enabled - ? MetricsEvent.ACTION_SETTINGS_DISABLE_APP - : MetricsEvent.ACTION_SETTINGS_ENABLE_APP); + MetricsEvent.ACTION_SETTINGS_ENABLE_APP); new DisableChanger(this, mAppEntry.info, - PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) + PackageManager.COMPONENT_ENABLED_STATE_ENABLED) .execute((Object) null); } } else if ((mAppEntry.info.flags & ApplicationInfo.FLAG_INSTALLED) == 0) {