diff options
author | Altaf-Mahdi <altaf.mahdi@gmail.com> | 2015-02-23 10:08:27 +0000 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-27 13:18:48 -0700 |
commit | b3747b4fbbec27e0bf054040856b100148d735bd (patch) | |
tree | af7cb8d4f5c3fa3abcf879d82aeb1ed371b76adb /src/com/android/settings/profiles | |
parent | 3eba9c98491dc4867eb9df5dcca1a749583475d7 (diff) | |
download | packages_apps_Settings-b3747b4fbbec27e0bf054040856b100148d735bd.zip packages_apps_Settings-b3747b4fbbec27e0bf054040856b100148d735bd.tar.gz packages_apps_Settings-b3747b4fbbec27e0bf054040856b100148d735bd.tar.bz2 |
Profiles: fix a ClassCastException
Change-Id: Ia4415c7a8ac02b6f3be1950dc68fad07e46f0fb9
Diffstat (limited to 'src/com/android/settings/profiles')
-rw-r--r-- | src/com/android/settings/profiles/ProfilesSettings.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |