Change updatePreferenceOrder() to onCreateView()
Root Cause: change preferences' order in onViewCreated() will see the order moving animation. Solution: * Move to onCreateView() can avoid seeing the order moving animation. * Move onProcessArguments() to onCreate() to let it be called as early as possible. Also let it align the calling getArguments() behavior in parent class PreferenceFragmentCompat. Bug: 171272809 Test: make RunSettingsRoboTests ROBOTEST_FILTLTER=ToggleFeaturePreferenceFragmentTest Change-Id: Ib9cb9b6df232ddcb681683ac2fcd2c6406c7a487
Loading
Please register or sign in to comment