VR: Handle density changing after Chrome is backgrounded in VR on S8(+)

If the user goes to DD home, then changes their device resolution before
returning to Chrome, we can't ignore the density change like we normally
would. This CL detects when the density is not what we expected it to
be when resuming Chrome after using VR on the S8(+), and recreates the
activity.

Bug: 787915
Change-Id: I657dad28aa385e43344c69d8ac175766be3ba333
Reviewed-on: https://chromium-review.googlesource.com/788270
Reviewed-by: Yash Malik <[email protected]>
Commit-Queue: Michael Thiessen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#519006}
1 file changed