Update to match fragment APIs.

Change-Id: I25ed185741b1dd16532216110f4610d9082dbc12
7 files changed