summaryrefslogtreecommitdiffstats
path: root/core/java/android/preference
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2009-06-29 20:17:53 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-06-29 20:17:53 -0700
commit08bc0d51a0088405c89c28252fa8e9e790a52233 (patch)
treea9cfde2bd8312d35eb4b211f836a53dec35fb291 /core/java/android/preference
parentf9435d7521a7085e487974faefbc7934bf90753c (diff)
parenta013a98f93fd5ced58cf76dcc2bd6ab2ca95dd92 (diff)
downloadframeworks_base-08bc0d51a0088405c89c28252fa8e9e790a52233.zip
frameworks_base-08bc0d51a0088405c89c28252fa8e9e790a52233.tar.gz
frameworks_base-08bc0d51a0088405c89c28252fa8e9e790a52233.tar.bz2
am a013a98f: Fix the nested preferences title. Again.
Merge commit 'a013a98f93fd5ced58cf76dcc2bd6ab2ca95dd92' * commit 'a013a98f93fd5ced58cf76dcc2bd6ab2ca95dd92': Fix the nested preferences title. Again.
Diffstat (limited to 'core/java/android/preference')
-rw-r--r--core/java/android/preference/PreferenceScreen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/preference/PreferenceScreen.java b/core/java/android/preference/PreferenceScreen.java
index 6ea2528..95e5432 100644
--- a/core/java/android/preference/PreferenceScreen.java
+++ b/core/java/android/preference/PreferenceScreen.java
@@ -150,7 +150,7 @@ public final class PreferenceScreen extends PreferenceGroup implements AdapterVi
// Set the title bar if title is available, else no title bar
final CharSequence title = getTitle();
- Dialog dialog = mDialog = new Dialog(context, !TextUtils.isEmpty(title)
+ Dialog dialog = mDialog = new Dialog(context, TextUtils.isEmpty(title)
? com.android.internal.R.style.Theme_NoTitleBar
: com.android.internal.R.style.Theme);
dialog.setContentView(listView);