Fix fragments to android.R.id.content not be removable

Caused by the way that AppCompat switches the content
view for its own. It transplants any views already
added to the window content view into its own, which
works. Fragment though keeps a reference to its
container view though, which is then incorrect.

Fixed by making sure that any call to findViewById()
installs AppCompat's sub-decor. Ensuring that any
fragments added to a container via an ID, already
have the sub-decor installed.

BUG: 27286333
Change-Id: Ia1bfc4f69620b4dbbe5e4625b268f1a2d7789e3a
10 files changed