diff options
author | Gilles Debunne <debunne@google.com> | 2011-08-23 11:01:35 -0700 |
---|---|---|
committer | Gilles Debunne <debunne@google.com> | 2011-08-23 11:01:41 -0700 |
commit | 6465054995f8470e52ecaf68ea9508a28f8a5363 (patch) | |
tree | db4a824c2e4c64c07b7e07adf48d328aff99afcf /src/com/android/settings/SettingsPreferenceFragment.java | |
parent | 778e5240ee39d215fcddadbd2e6f4e2bbb0ec2ac (diff) | |
download | packages_apps_settings-6465054995f8470e52ecaf68ea9508a28f8a5363.zip packages_apps_settings-6465054995f8470e52ecaf68ea9508a28f8a5363.tar.gz packages_apps_settings-6465054995f8470e52ecaf68ea9508a28f8a5363.tar.bz2 |
Bug 5050590: wrong title for lock screen
Change-Id: Iba170a25ac56db4140ab91f4fd583c0f676b02b0
Diffstat (limited to 'src/com/android/settings/SettingsPreferenceFragment.java')
-rw-r--r-- | src/com/android/settings/SettingsPreferenceFragment.java | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/com/android/settings/SettingsPreferenceFragment.java b/src/com/android/settings/SettingsPreferenceFragment.java index bd9e331..f7e3b02 100644 --- a/src/com/android/settings/SettingsPreferenceFragment.java +++ b/src/com/android/settings/SettingsPreferenceFragment.java @@ -16,28 +16,22 @@ package com.android.settings; -import android.app.Activity; import android.app.Dialog; import android.app.DialogFragment; import android.app.Fragment; import android.content.ContentResolver; import android.content.DialogInterface; -import android.content.Intent; import android.content.pm.PackageManager; import android.os.Bundle; import android.preference.PreferenceActivity; import android.preference.PreferenceFragment; -import android.text.TextUtils; import android.util.Log; -import android.view.View; -import android.view.View.OnClickListener; import android.widget.Button; /** * Base class for Settings fragments, with some helper functions and dialog management. */ -public class SettingsPreferenceFragment extends PreferenceFragment - implements DialogCreatable { +public class SettingsPreferenceFragment extends PreferenceFragment implements DialogCreatable { private static final String TAG = "SettingsPreferenceFragment"; @@ -241,8 +235,8 @@ public class SettingsPreferenceFragment extends PreferenceFragment Fragment caller, String fragmentClass, int requestCode, Bundle extras) { if (getActivity() instanceof PreferenceActivity) { PreferenceActivity preferenceActivity = (PreferenceActivity)getActivity(); - preferenceActivity.startPreferencePanel(fragmentClass, extras, 0, null, caller, - requestCode); + preferenceActivity.startPreferencePanel(fragmentClass, extras, + R.string.lock_settings_picker_title, null, caller, requestCode); return true; } else { Log.w(TAG, "Parent isn't PreferenceActivity, thus there's no way to launch the " |