[wifi] set adjustViewBounds on the modern wifi view
The way our layouts for mobile/wifi work currently is that we want to use wrap_content when NewStatusBarIcons is on, but the old wifi layout doesn't use that property of ImageView. The bug: with NewStatusBarIcons enabled, the wifi icon doesn't resize with the font size setting correctly The fix: settings ImageView.adjustViewBounds will resize the ImageView and allow the wrap_content property to work correctly. Test: manual Bug: 402608850 Flag: com.android.settingslib.flags.new_status_bar_icons Flag: com.android.systemui.status_bar_root_modernization Change-Id: I03c8e2e886f9546a8e8457042391ef00184a2b42
Loading
Please register or sign in to comment