fixed recursive call instead of call to super in PublishProfileActivity

This commit is contained in:
Daniel Gultsch 2016-03-13 17:38:59 +01:00
parent 817d344521
commit 290f53f4a6

View File

@ -4,7 +4,6 @@ import android.app.PendingIntent;
import android.content.Intent; import android.content.Intent;
import android.content.pm.PackageManager; import android.content.pm.PackageManager;
import android.graphics.Bitmap; import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri; import android.net.Uri;
import android.os.Bundle; import android.os.Bundle;
import android.view.Menu; import android.view.Menu;
@ -20,13 +19,10 @@ import android.widget.Toast;
import com.soundcloud.android.crop.Crop; import com.soundcloud.android.crop.Crop;
import java.io.File; import java.io.File;
import java.io.FileNotFoundException;
import eu.siacs.conversations.Config; import eu.siacs.conversations.Config;
import eu.siacs.conversations.R; import eu.siacs.conversations.R;
import eu.siacs.conversations.entities.Account; import eu.siacs.conversations.entities.Account;
import eu.siacs.conversations.persistance.FileBackend;
import eu.siacs.conversations.utils.ExifHelper;
import eu.siacs.conversations.utils.FileUtils; import eu.siacs.conversations.utils.FileUtils;
import eu.siacs.conversations.utils.PhoneHelper; import eu.siacs.conversations.utils.PhoneHelper;
import eu.siacs.conversations.xmpp.pep.Avatar; import eu.siacs.conversations.xmpp.pep.Avatar;
@ -183,7 +179,7 @@ public class PublishProfilePictureActivity extends XmppActivity {
} }
return true; return true;
} else { } else {
return onOptionsItemSelected(item); return super.onOptionsItemSelected(item);
} }
} }