Use full config to check size compat

The resolved config isn't computed unless there is
configuration changed. Also fix the missing cast of
max aspect ratio comparison.

Fix: 145786255
Test: atest SizeCompatTests
Change-Id: I0126f41aca650f6666f5e9f12836f73c09dae803
2 files changed