Fix Gradle build errors

This commit is contained in:
misaochan 2016-06-15 17:57:57 +12:00
parent c167e418fd
commit e913428d6e
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,6 @@
package fr.free.nrw.commons.media;
import android.annotation.SuppressLint;
import android.app.DownloadManager;
import android.content.BroadcastReceiver;
import android.content.Context;
@ -82,6 +83,7 @@ public class MediaDetailPagerFragment extends Fragment implements ViewPager.OnPa
this(false);
}
@SuppressLint("ValidFragment")
public MediaDetailPagerFragment(Boolean editable) {
this.editable = editable;
}

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:custom="http://schemas.android.com/apk/res/fr.free.nrw.commons"
xmlns:custom="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"