-
-
Notifications
You must be signed in to change notification settings - Fork 276
Break down PGP Activity into focused sections #776
Conversation
44af84a
to
de2d788
Compare
6c37928
to
7de7adf
Compare
7de7adf
to
a073e0f
Compare
It is insane to me just how much "magic" this monolith of madness encapsulates... |
1bdf9bc
to
def3862
Compare
b3090e0
to
bfd445d
Compare
@FabianHenneke I'm not very happy with how the |
Based on my limited experience with WorkManager, it is pretty good at ensuring minimal delays, but I don't know how to set reliable maximal delays. Even though it's effort this way, I think that a foreground service is the way to go for such a sensitive operation. |
That's a fair point... I'll keep that around and get rid of |
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
I'll take a look, thanks for the insight! |
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Can't test this right now but I think it'll work, will be able to confirm in about 8 to 10 hours. |
Yep this works. @FabianHenneke we should be good to go for a final review and merge 🎉 |
app/src/main/java/com/zeapo/pwdstore/crypto/PasswordCreationActivity.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/zeapo/pwdstore/crypto/PasswordCreationActivity.kt
Outdated
Show resolved
Hide resolved
Well done! I have left some comments, but nothing serious. I will do another test round after they have been resolved. |
Awesome, thanks a lot for the review. I'll have it sorted in a couple hours when I take a break off work. |
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Okay I think all review comments are addressed now. |
This converts paths to the 'wrong' kind of relative. This reverts commit 392edb7.
Had to revert 392edb7 because it didn't behave correctly. What was |
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
I tested this more and found only the following two remaining issues:
|
Yeah that makes sense.
I think this can be done and would probably make sense too.
Yeah this is gonna be too much work for not enough gain :/ |
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Confirmed fixed. |
📢 Type of change
📜 Description
This PR is a concentrated effort to break
PgpActivity
down to more logical parts that will allow this to be more maintainable and logical going forward. Also opens up the possibility to finally get rid of kotlin-android-extensions and replace it with ViewBinding.💡 Motivation and Context
PgpActivity
is a blackbox of arcane logic and bad design choices that stump contributors and maintainers alike and reducing development friction by bringing this up to standards is an important goal of mine.💚 How did you test it?
Generating a password both from the FAB as well as the Autofill action works as expected.
📝 Checklist
🔮 Next steps
📸 Screenshots / GIFs