Fix that once the phone is rotated to portrait orientation, the "Use TalkBack" toggle is truncated.
Goals: 1. Extends the api of apply partner's customization padding style in the Settings widget "SettingsMainSwitchPreference" to dynamically adjust the padding depending on the SetupWizard library. 2. Use the function to avoid the button being truncated. Bug: 231512916 Test: manual test Change-Id: I951776185eb1616136d9caf3a60f9daea4da191a
This commit is contained in:
@@ -49,6 +49,8 @@ public class ToggleScreenReaderPreferenceFragmentForSetupWizard
|
||||
if (mTopIntroPreference != null) {
|
||||
mTopIntroPreference.setVisible(false);
|
||||
}
|
||||
|
||||
mToggleServiceSwitchPreference.applyPartnerCustomizationPaddingStyle();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user