Fix some ordering, colors, and accessibility bugs.
When adding preferences to public/private details screens, always add in-order when rebuilding. Hacky fix for broken summary text and eject image color tints. Fix crash when device rotated during partitioning. Set correct accessibility titles in all wizard steps. Bug: 22098044, 21376962 Change-Id: I68aff96cba497a91919cad8865722bc9cef7eaa7
This commit is contained in:
@@ -150,7 +150,9 @@ public abstract class StorageWizardBase extends Activity {
|
||||
}
|
||||
|
||||
protected void setHeaderText(int resId, String... args) {
|
||||
getSetupWizardLayout().setHeaderText(TextUtils.expandTemplate(getText(resId), args));
|
||||
final CharSequence headerText = TextUtils.expandTemplate(getText(resId), args);
|
||||
getSetupWizardLayout().setHeaderText(headerText);
|
||||
setTitle(headerText);
|
||||
}
|
||||
|
||||
protected void setBodyText(int resId, String... args) {
|
||||
|
Reference in New Issue
Block a user