mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Clean up warnings.
This commit is contained in:
@@ -28,7 +28,6 @@ import org.bouncycastle.crypto.InvalidCipherTextException;
|
||||
import android.app.Activity;
|
||||
import android.app.ProgressDialog;
|
||||
import android.content.Intent;
|
||||
import android.content.res.Configuration;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.view.Menu;
|
||||
@@ -51,7 +50,6 @@ public class PasswordActivity extends Activity {
|
||||
private String mFileName;
|
||||
private String mKeyFile;
|
||||
private ProgressDialog mPd;
|
||||
private boolean mIsDialogUp = false;
|
||||
|
||||
public static void Launch(Activity act, String fileName) throws FileNotFoundException {
|
||||
Launch(act,fileName,"");
|
||||
@@ -154,7 +152,6 @@ public class PasswordActivity extends Activity {
|
||||
String fileName = getEditText(R.id.pass_filename);
|
||||
|
||||
mPd = ProgressDialog.show(mAct, "Working...", "Loading database", true, false);
|
||||
mIsDialogUp = true;
|
||||
Thread bkgLoad = new Thread(new BackgroundLoad(fileName, pass, key));
|
||||
bkgLoad.start();
|
||||
|
||||
@@ -229,7 +226,6 @@ public class PasswordActivity extends Activity {
|
||||
@Override
|
||||
public void run() {
|
||||
mPd.dismiss();
|
||||
mIsDialogUp = false;
|
||||
|
||||
if ( mMsg.length() > 0 ) {
|
||||
Toast.makeText(PasswordActivity.this, mMsg, Toast.LENGTH_LONG).show();
|
||||
|
||||
Reference in New Issue
Block a user