-
-
Notifications
You must be signed in to change notification settings - Fork 276
Move password export to the IO dispatcher #918
Move password export to the IO dispatcher #918
Conversation
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Can you reduce ProgressBar size a bit. That doesn't look good imo. |
Also doing this is |
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Removed the progressbar. The export will fail if the activity dies so I've added some workarounds to prevent the user from killing it. |
* develop: global: set an import order rule and reformat with it (#924) Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app seems to hang for me completely on API 30 after directory selection, then ANRs, and finally crashes back to the settings screen.
I've tested on API 29 and it was working fine. I'll test on emulator. |
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
@msfjarvis can you test it again? |
Works now, but the icon needs to be changed. Try this. |
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
LGTM, approve and submit once presubmit runs finish. |
app/src/main/java/mozilla/components/lib/publicsuffixlist/PublicSuffixListData.kt
Outdated
Show resolved
Hide resolved
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* develop: Move password export to the IO dispatcher (#918)
* develop: (77 commits) Add debug icon and update color palette (android-password-store#931) Revert "Work around Chrome Autofill issue (android-password-store#921)" (android-password-store#933) github: remove freeDebug variant from pull request matrix (android-password-store#932) Properly guard against invalid renaming (android-password-store#929) Fix navigation bar theming and reformat (android-password-store#930) Exclude third_party scope from reformats (android-password-store#927) Move password export to the IO dispatcher (android-password-store#918) Mention android-password-store#482 being fixed in the changelog (android-password-store#925) global: set an import order rule and reformat with it (android-password-store#924) styles: re-add alertDialogTheme override (android-password-store#923) Work around Chrome Autofill issue (android-password-store#921) Major UI overhaul and the introduction of a new icon (android-password-store#920) Update Public Suffix List data (android-password-store#917) Migrate to ActivityResultContracts (android-password-store#910) release: script improvements (android-password-store#915) Deploy both variants to snapshot directory (android-password-store#914) Fill OTP fields with SMS codes (android-password-store#900) Fix up URIish instances with @ in user name (android-password-store#913) build: upgrade Gradle wrapper (android-password-store#911) Scroll to files and enter folders when created (android-password-store#909) ... Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
📢 Type of change
📜 Description
Makes password export asynchronous and adds some UI feedback to make it visible to the user that something is happening in the background.
💡 Motivation and Context
Exporting stores with a large number of directories/files (~100? maybe even lesser?) causes the app to stall and freeze until the copy task is complete.
💚 How did you test it?
Manually exported passwords multiple times and the app did not freeze.
📝 Checklist
🔮 Next steps
📸 Screenshots / GIFs