mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
Fix #120 -- editing not creating git commits and yet another version bump
This commit is contained in:
@@ -9,8 +9,8 @@ android {
|
||||
applicationId "com.zeapo.pwdstore"
|
||||
minSdkVersion 15
|
||||
targetSdkVersion 23
|
||||
versionCode 50
|
||||
versionName "1.2.0.30"
|
||||
versionCode 51
|
||||
versionName "1.2.0.31"
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
|
@@ -442,7 +442,10 @@ public class PasswordStore extends AppCompatActivity {
|
||||
// if we get here with a RESULT_OK then it's probably OK :)
|
||||
settings.edit().putBoolean("repository_initialized", true).apply();
|
||||
break;
|
||||
case PgpHandler.REQUEST_CODE_ENCRYPT :
|
||||
case PgpHandler.REQUEST_CODE_ENCRYPT:
|
||||
case PgpHandler.REQUEST_CODE_DECRYPT_AND_VERIFY:
|
||||
// RESULT_OK and REQUEST_CODE_DECRYPT_AND_VERIFY only when a file has been edited
|
||||
// since normally REQUEST_CODE_DECRYPT_AND_VERIFY returns RESULT_CANCELLED
|
||||
Git git = new Git(PasswordRepository.getRepository(new File("")));
|
||||
GitAsyncTask tasks = new GitAsyncTask(this, false, false, CommitCommand.class);
|
||||
tasks.execute(
|
||||
|
Reference in New Issue
Block a user