Init the pref summary in onCreate()
The visibility of bottom summary in BatteryHistoryPrefence will be changed dynamically(charging status + flags). Before this cl, we only update it in a callback, which makes other preference may have unnecessary moves. This cl add init method in onCreate(), which removes the uncessary preference position moves. Bug: 65529494 Test: RoboTest still pass Change-Id: I09d2e26fc3caaeb272422997c16957770cdc1d3f
Loading
Please register or sign in to comment