33f3e3f4f7d7fa92ca5e6cb6cbb95a0fcbf9452f
In fragments where preferences were being injected after the super#onResume, the incorrect preference was being highlighted as the selected result. This is because the index of the preference is calculated in SettingsPreferenceFragment#onResume, but the index is not checked again before the item is highlighted. Instead, we calculate index right before we highlight. Change-Id: Idaa655f682a1a6186c1996fb51d352589bbeda0f Fixes: 62179739 Test: runtest --path packages/apps/Settings/tests/app/src/com/android/settings/SettingsPreferenceFragmentTest.java
Description
No description provided
Languages
Java
89.8%
Kotlin
10.2%