Fix the nested preferences title. Again.

Made a mistake when refactoring just before checkin. ! ?
This commit is contained in:
Amith Yamasani
2009-06-26 16:03:46 -07:00
parent f7c886b4fe
commit a013a98f93

View File

@@ -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);