Compare min width/height with the longest screen side

Since we only support 30/70 split in portrait and 50/50 split in
landscape, compare activity min width/height with those only.

Bug: 189180596
Test: manually with Calculator
Change-Id: I521785768fa7e01b2da3b8efd2ff39d31b3ceb7e
6 files changed