Skip to content

Commit

Permalink
Copybara import of the project:
Browse files Browse the repository at this point in the history
--
2193306 by mumu <[email protected]>:

Fix a wrong process

It has been determined that activity belongs to FragmentActivity , so should use the get() method of FragmentActivity

PiperOrigin-RevId: 260787575
  • Loading branch information
sjudd authored and glide-copybara-robot committed Jul 30, 2019
1 parent 15a21b1 commit 85bf0c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public RequestManager get(@NonNull View view) {
// prefer to just fall back to the Activity directly.
if (activity instanceof FragmentActivity) {
Fragment fragment = findSupportFragment(view, (FragmentActivity) activity);
return fragment != null ? get(fragment) : get((FragmentActivity) activity);
return fragment != null ? get(fragment) : get(activity);
}

// Standard Fragments.
Expand Down

0 comments on commit 85bf0c3

Please sign in to comment.