commit | 3cb6e8d5a396ed8190cdb82b3e8e7b25c8084698 | [log] [tgz] |
---|---|---|
author | Nancy Chen <nancychen@google.com> | Mon Nov 23 13:30:44 2015 -0800 |
committer | Nancy Chen <nancychen@google.com> | Mon Nov 23 13:41:32 2015 -0800 |
tree | 049926355f66d6a2286306a251f5f996473c9754 | |
parent | 471f63aa71568456b368b80d38a5e43f7051d28d [diff] |
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