Update the deletion helper feature factory for photos and videos.

Bug: 28554187

Change-Id: I7fcc34af87ec17e9396f390d851fd31df1dc951a
This commit is contained in:
Daniel Nishi
2016-05-17 13:33:29 -07:00
parent 1ca6867e35
commit 76cd0118e9
3 changed files with 5 additions and 5 deletions

View File

@@ -92,7 +92,7 @@ public class DeletionHelperFragment extends SettingsPreferenceFragment implement
mProvider =
FeatureFactory.getFactory(app).getDeletionHelperFeatureProvider();
if (mProvider != null) {
mPhotoVideoDeletion = mProvider.createPhotoVideoDeletionType();
mPhotoVideoDeletion = mProvider.createPhotoVideoDeletionType(getContext());
}
mDownloadsDeletion = new DownloadsDeletionType(getActivity());