Adds getLayoutInflater() to return a cached value.

Bug 37156970

Many applications need to get the LayoutInflater used for
fragment View inflation. onGetLayoutInflater() can be heavy
weight, so a version that caches that last value is added.

This CL adds a test.

Support Lib: I11d719d7416a5bb3b65f37a78e6ed96a69c32332
Framework Change: I686d5b39f7a046396fff124c33c22a73952ee5d7
Test: ran fragment tests

Change-Id: I6aa0ecfe7136d133d15a597857f6cf6f3cf68fca
1 file changed