mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
fix a couple lint errors
This commit is contained in:
parent
0557e0680e
commit
4e29d027af
@ -149,7 +149,7 @@ public class ImportKeysProxyActivity extends FragmentActivity {
|
|||||||
|
|
||||||
private void processScannedContent(Uri uri) {
|
private void processScannedContent(Uri uri) {
|
||||||
|
|
||||||
Log.d(Constants.TAG, "scanned: " + uri.toString());
|
Log.d(Constants.TAG, "scanned: " + uri);
|
||||||
|
|
||||||
String fingerprint = null;
|
String fingerprint = null;
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@ package org.sufficientlysecure.keychain.ui;
|
|||||||
|
|
||||||
import android.animation.ArgbEvaluator;
|
import android.animation.ArgbEvaluator;
|
||||||
import android.animation.ObjectAnimator;
|
import android.animation.ObjectAnimator;
|
||||||
|
import android.annotation.SuppressLint;
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.app.ActivityOptions;
|
import android.app.ActivityOptions;
|
||||||
@ -127,6 +128,7 @@ public class ViewKeyActivity extends BaseActivity implements
|
|||||||
private String mFingerprint;
|
private String mFingerprint;
|
||||||
private long mMasterKeyId;
|
private long mMasterKeyId;
|
||||||
|
|
||||||
|
@SuppressLint("InflateParams")
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
@ -210,7 +212,7 @@ public class ViewKeyActivity extends BaseActivity implements
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Log.i(Constants.TAG, "mDataUri: " + mDataUri.toString());
|
Log.i(Constants.TAG, "mDataUri: " + mDataUri);
|
||||||
|
|
||||||
mActionEncryptFile.setOnClickListener(new View.OnClickListener() {
|
mActionEncryptFile.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
@ -624,8 +626,6 @@ public class ViewKeyActivity extends BaseActivity implements
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Load QR Code asynchronously and with a fade in animation
|
* Load QR Code asynchronously and with a fade in animation
|
||||||
*
|
|
||||||
* @param fingerprint
|
|
||||||
*/
|
*/
|
||||||
private void loadQrCode(final String fingerprint) {
|
private void loadQrCode(final String fingerprint) {
|
||||||
AsyncTask<Void, Void, Bitmap> loadTask =
|
AsyncTask<Void, Void, Bitmap> loadTask =
|
||||||
@ -952,6 +952,7 @@ public class ViewKeyActivity extends BaseActivity implements
|
|||||||
mPreviousColor = color;
|
mPreviousColor = color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//noinspection deprecation
|
||||||
mStatusImage.setAlpha(80);
|
mStatusImage.setAlpha(80);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user