Merge "Fix missing summary for CheckBoxPreference"
This commit is contained in:
committed by
Android (Google) Code Review
commit
4bedf88f3d
@@ -761,8 +761,12 @@ public class Index {
|
|||||||
keywords, intentAction, intentTargetPackage, intentTargetClass,
|
keywords, intentAction, intentTargetPackage, intentTargetClass,
|
||||||
true, key);
|
true, key);
|
||||||
} else {
|
} else {
|
||||||
final String summaryOn = getDataSummaryOn(context, attrs);
|
String summaryOn = getDataSummaryOn(context, attrs);
|
||||||
final String summaryOff = getDataSummaryOff(context, attrs);
|
String summaryOff = getDataSummaryOff(context, attrs);
|
||||||
|
|
||||||
|
if (TextUtils.isEmpty(summaryOn) && TextUtils.isEmpty(summaryOff)) {
|
||||||
|
summaryOn = getDataSummary(context, attrs);
|
||||||
|
}
|
||||||
|
|
||||||
updateOneRowWithFilteredData(database, localeStr, title, summaryOn, summaryOff,
|
updateOneRowWithFilteredData(database, localeStr, title, summaryOn, summaryOff,
|
||||||
null, fragmentName, screenTitle, iconResId, rank,
|
null, fragmentName, screenTitle, iconResId, rank,
|
||||||
|
Reference in New Issue
Block a user