Don't compare configs during layout

Config.equals is expensive - instead, we keep track of whether it
has changed or not.

Bug: 129389526
Change-Id: I109cead72f4736803aa1e25cdc0f1340699535f4
2 files changed