From b3747b4fbbec27e0bf054040856b100148d735bd Mon Sep 17 00:00:00 2001 From: Altaf-Mahdi Date: Mon, 23 Feb 2015 10:08:27 +0000 Subject: Profiles: fix a ClassCastException Change-Id: Ia4415c7a8ac02b6f3be1950dc68fad07e46f0fb9 --- src/com/android/settings/profiles/ProfilesSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/android/settings/profiles') diff --git a/src/com/android/settings/profiles/ProfilesSettings.java b/src/com/android/settings/profiles/ProfilesSettings.java index 811c207..1f14113 100644 --- a/src/com/android/settings/profiles/ProfilesSettings.java +++ b/src/com/android/settings/profiles/ProfilesSettings.java @@ -204,7 +204,7 @@ public class ProfilesSettings extends SettingsPreferenceFragment { args.putBoolean(EXTRA_NEW_PROFILE, true); args.putParcelable(EXTRA_PROFILE, new Profile(getString(R.string.new_profile_name))); - SubSettings pa = (SubSettings) getActivity(); + SettingsActivity pa = (SettingsActivity) getActivity(); pa.startPreferencePanel(SetupTriggersFragment.class.getCanonicalName(), args, 0, null, this, 0); } -- cgit v1.1