instrument: update symmetric tests

This commit is contained in:
Vincent Breitmoser
2015-06-20 20:04:33 +02:00
parent c80d331b96
commit d472e30b4e
6 changed files with 162 additions and 25 deletions

View File

@@ -387,6 +387,7 @@ public class DecryptListFragment
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(outputUri, "text/plain");
intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
return intent;
}

View File

@@ -457,8 +457,8 @@ public class KeyFormattingUtils {
}
int encColorRes = context.getResources().getColor(encColor);
holder.getEncryptionStatusIcon().setImageDrawable(context.getResources().getDrawable(encIcon));
holder.getEncryptionStatusIcon().setColorFilter(encColorRes, PorterDuff.Mode.SRC_IN);
holder.getEncryptionStatusIcon().setImageDrawable(context.getResources().getDrawable(encIcon));
holder.getEncryptionStatusText().setText(encText);
holder.getEncryptionStatusText().setTextColor(encColorRes);
}
@@ -542,8 +542,8 @@ public class KeyFormattingUtils {
}
int sigColorRes = context.getResources().getColor(sigColor);
holder.getSignatureStatusIcon().setImageDrawable(context.getResources().getDrawable(sigIcon));
holder.getSignatureStatusIcon().setColorFilter(sigColorRes, PorterDuff.Mode.SRC_IN);
holder.getSignatureStatusIcon().setImageDrawable(context.getResources().getDrawable(sigIcon));
holder.getSignatureStatusText().setText(sigText);
holder.getSignatureStatusText().setTextColor(sigColorRes);