Fix theme differences between left/right pane problem

- Add a callback class to monitor the split behavior of the activity
  embedding and update UI if necessary.

Fixes: 279516059
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.homepage.SettingsHomepageActivity
Change-Id: I32e86265638684ddde067539a0f493be4c04afae
This commit is contained in:
Sunny Shao
2023-08-23 12:01:27 +08:00
parent 84c4ec936a
commit 9669cf5db9
2 changed files with 57 additions and 9 deletions

View File

@@ -74,6 +74,7 @@ android_library {
"androidx.preference_preference",
"androidx.recyclerview_recyclerview",
"androidx.window_window",
"androidx.window_window-java",
"com.google.android.material_material",
"setupcompat",
"setupdesign",