Fixed warning

This commit is contained in:
M66B 2019-01-27 11:17:45 +00:00
parent a315cbb44f
commit 8c5fab6927
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ package eu.faircode.email;
*/ */
import android.Manifest; import android.Manifest;
import android.annotation.SuppressLint;
import android.app.NotificationManager; import android.app.NotificationManager;
import android.content.ContentResolver; import android.content.ContentResolver;
import android.content.Context; import android.content.Context;
@ -411,6 +412,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
grpExpanded.setVisibility(View.GONE); grpExpanded.setVisibility(View.GONE);
} }
@SuppressLint("WrongConstant")
private void bindTo(int position, final TupleMessageEx message) { private void bindTo(int position, final TupleMessageEx message) {
final DB db = DB.getInstance(context); final DB db = DB.getInstance(context);
final boolean show_expanded = properties.getValue("expanded", message.id); final boolean show_expanded = properties.getValue("expanded", message.id);