Save BottomSheet state when screen rotate
- Save BottomSheet state in onSaveInstanceState - When Settings starts from saved state, we don't need to add fragment. Because FragmentManager already contains fragment instance. - Fix status bar color Change-Id: Ic8779b8253040554409e735bd57bd9001c1d56fd Fixes: 112428378 Test: make RunSettingsRoboTests
This commit is contained in:
@@ -171,6 +171,7 @@
|
||||
<item name="colorPrimaryDark">@*android:color/primary_dark_device_default_settings_light</item>
|
||||
<item name="colorAccent">@*android:color/accent_device_default_light</item>
|
||||
<item name="preferenceTheme">@style/PreferenceTheme</item>
|
||||
<item name="android:windowLightStatusBar">true</item>
|
||||
</style>
|
||||
|
||||
<!--TODO(b/111875856) This theme will be useless, when we add real activity/fragment to handle the full screen for WifiDialog -->
|
||||
|
Reference in New Issue
Block a user