Closed Fbada006 closed 3 weeks ago
In the ImagePickerFactory, we were getting the activity by casting the context straight to an activity. This is potentially dangerous since context may be wrapped around a context wrapper. This code reduces the chances of such an issue happening.
ImagePickerFactory
In the
ImagePickerFactory
, we were getting the activity by casting the context straight to an activity. This is potentially dangerous since context may be wrapped around a context wrapper. This code reduces the chances of such an issue happening.