Fix the nested preferences title. Again.
Made a mistake when refactoring just before checkin. ! ?
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user