diff options
author | Jake Wharton <jakew@google.com> | 2019-11-25 16:22:33 -0500 |
---|---|---|
committer | TreeHugger Robot <treehugger-gerrit@google.com> | 2019-12-10 02:46:41 +0000 |
commit | 0eb8d900edad41225c2fb6caa146b9d47661662f (patch) | |
tree | 1658c17a98e7726b31b0da20e883f12fad8d0fd9 | |
parent | 3be05c6cd593bc5836c2f3e0c0d51ee6fa170297 (diff) | |
download | data-binding-0eb8d900edad41225c2fb6caa146b9d47661662f.tar.gz |
Fix lint NewApi error on test app
Bug: 128314294
Test: 'gradle build' in test app
Change-Id: If80305dc942d6aea8b39dd6d7011693f6d0db961
-rw-r--r-- | integration-tests/ViewBindingTestApp/app/src/main/java/com/example/viewbinding/EmptyFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integration-tests/ViewBindingTestApp/app/src/main/java/com/example/viewbinding/EmptyFragment.java b/integration-tests/ViewBindingTestApp/app/src/main/java/com/example/viewbinding/EmptyFragment.java index bae10678..72990768 100644 --- a/integration-tests/ViewBindingTestApp/app/src/main/java/com/example/viewbinding/EmptyFragment.java +++ b/integration-tests/ViewBindingTestApp/app/src/main/java/com/example/viewbinding/EmptyFragment.java @@ -25,6 +25,6 @@ import android.view.ViewGroup; public final class EmptyFragment extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { - return new View(getContext()); + return new View(getActivity()); } } |