Change PreferenceController#getSummary return type.

Return CharSequence instead of String.

All user visible string should be modeled as CharSequence.

Bug: 73950519
Test: robotest in settings CL
Change-Id: Ied2384fa520e5e4665f79dae9df66dbcf2f106b6
This commit is contained in:
Fan Zhang
2018-02-27 10:31:31 -08:00
parent b9cacbea94
commit 287981fed8

View File

@@ -72,9 +72,9 @@ public abstract class AbstractPreferenceController {
/**
* @return a String for the summary of the preference.
* @return a {@link CharSequence} for the summary of the preference.
*/
public String getSummary() {
public CharSequence getSummary() {
return null;
}
}