invalidateOnConfigChange static method
Event-driven hook: call when a window configuration changes. Partitions are keyed by exact snapshot, so correctness never depends on this — it only releases memory earlier.
Implementation
static void invalidateOnConfigChange(ScreenConfiguration configuration) {
invalidate(DimenMetrics.from(configuration));
}