From 3cb6e8d5a396ed8190cdb82b3e8e7b25c8084698 Mon Sep 17 00:00:00 2001 From: Nancy Chen Date: Mon, 23 Nov 2015 13:30:44 -0800 Subject: Use getActivity instead of getContext for backporting. Since fragments did not have getContext until API level 23, use getActivity instead because the activity is the context for fragments. Bug: 25776171 Change-Id: I1f74f41932b29b9a84d2d5158a9b9c53c28e953a --- InCallUI/src/com/android/incallui/CallCardFragment.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'InCallUI/src/com/android') diff --git a/InCallUI/src/com/android/incallui/CallCardFragment.java b/InCallUI/src/com/android/incallui/CallCardFragment.java index 75d13535b..f7c9f2b58 100644 --- a/InCallUI/src/com/android/incallui/CallCardFragment.java +++ b/InCallUI/src/com/android/incallui/CallCardFragment.java @@ -1260,6 +1260,11 @@ public class CallCardFragment extends BaseFragment