-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mastodonアカウントを含む設定バックアップをインポートするとクラッシュ #185
Labels
Milestone
Comments
久々に操作してみたら、今度はProvider情報がエクスポートされていなくてクラッシュしてしまった。accounts.jsonに含めたほうが管理しやすいかな? Logcat
|
shibafu528
added a commit
that referenced
this issue
Jun 30, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
概要
Mastodonアカウントを含む
accounts.json
をインポートするとクラッシュする。再現手順
原因
認証情報のインポート後にアカウントの情報を最新化するための取得処理を実行しているが、そこで全てTwitterとみなして実行してるせい。
2.1対応の漏れと言えるが、実は古い
accounts.json
でなければ、ここで取得している情報はすぐには必要ないので実行しなくていい。(2.0以下のy4aでエクスポートした
accounts.json
の場合、NameやScreenNameがないのでここで取得が必要)Twitterアカウント、かつNameやScreenNameが欠けている場合のみの実行で良いと思われる。
Yukari/Yukari/src/main/java/shibafu/yukari/activity/BackupActivity.kt
Lines 145 to 157 in 8981201
環境
Logcat
The text was updated successfully, but these errors were encountered: