commit | d9b13df1e0d8ba4f4adc54a32b40da77c339d294 | [log] [tgz] |
---|---|---|
author | shelley_zhang <[email protected]> | Wed Oct 09 09:44:33 2024 +0800 |
committer | Shelley Zhang <[email protected]> | Thu Jan 16 17:59:04 2025 -0800 |
tree | b211c70c31924b43aaf642adcc94b0b52fa90e5f | |
parent | 8342dd92b1d476bc676d052bb759541f5c93276e [diff] |
Fix incorrect focus position when setting the language After selecting the language in the radio button, the ui will be refreshed. When onResume is called, the language list data is not prepared yet, so focus is on the first row. This patch refresh focus position after createPreferences if onResume is called already. Bug: b/361213178 Test: All settings > System > Language, select languages in the radio button Change-Id: I6ed99904047395e492aca789860a1004e0d3e13e