From 949eea1235e3f1c769ec349fa65facf1c1449a72 Mon Sep 17 00:00:00 2001 From: lion0738 Date: Mon, 30 Nov 2015 23:53:22 +0900 Subject: Settings: Fix IllegalArgumentException in AppGroupConfig Change-Id: I772d5f8e443699ff3f45e8d1c50debb2c7730b17 --- src/com/android/settings/profiles/AppGroupConfig.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/com/android/settings/profiles') diff --git a/src/com/android/settings/profiles/AppGroupConfig.java b/src/com/android/settings/profiles/AppGroupConfig.java index 82e0d83..b05f485 100644 --- a/src/com/android/settings/profiles/AppGroupConfig.java +++ b/src/com/android/settings/profiles/AppGroupConfig.java @@ -43,6 +43,7 @@ import android.widget.AdapterView.OnItemClickListener; import android.widget.ListView; import android.widget.Toast; +import com.android.internal.logging.MetricsLogger; import com.android.settings.R; import com.android.settings.SettingsPreferenceFragment; import com.android.settings.cyanogenmod.PackageListAdapter; @@ -194,7 +195,7 @@ public class AppGroupConfig extends SettingsPreferenceFragment @Override protected int getMetricsCategory() { - return 0; + return MetricsLogger.DONT_TRACK_ME_BRO; } @Override @@ -318,4 +319,4 @@ public class AppGroupConfig extends SettingsPreferenceFragment mNotificationGroup.removePackage(mPackageToDelete); updatePackages(); } -} \ No newline at end of file +} -- cgit v1.1