Don't inherit a parent's context if view is layout root

Previously AppCompat would make an inflated view
inherit a parent's context, regardless of whether it
was the root view. This is different to the framework
functionality which only allows children to inherit.

BUG: 20695142

Change-Id: I9ec90654a08824f7ee64b73ba76bdc0ee3ea28fc
3 files changed