commit | a6907dc8c90ebf3f488301f8388f00a7c6371702 | [log] [tgz] |
---|---|---|
author | Alex Chau <alexchau@google.com> | Fri Mar 18 15:24:07 2022 +0000 |
committer | Alex Chau <alexchau@google.com> | Fri Mar 18 15:24:07 2022 +0000 |
tree | cc3bee3cb3338d0d3c08d66cbc4d646cca9258e0 | |
parent | 8233d92274912e47fd58d560d63386000f9183ff [diff] |
Use correct config.smallestScreenWidthDp when creating Resource in DeviceProfile - This is a regression from ag/17070486 when tested, likely because DeviceProfiles are no longer re-created when changing display sizes, so correct values need to be calculated on the starting state Bug: 221961069 Test: verify smallestWidth specific resource on changing display sizes Change-Id: I1539bad4b35b36f0056d59307ab5fbec23a71f49