Poor performance with APIs inside onConfigurationChanged()
Poor performance with APIs inside onConfigurationChanged()
When users resize the Android emulator in Android 13 and Chrome OS, an onConfigurationChanged()
API call occurs. If your onConfigurationChanged()
method contains any code that can cause a redraw, your app might take a performance hit on large screens. To fix the issue, ensure your onConfigurationChanged()
method does not contain any calls to UI redraw logic for specific elements.
Issue id: ChromeOsOnConfigurationChanged
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3 |
Plugin: | Android, 2022.3.1 Beta 2 |
Last modified: 13 July 2023