Allow ErrorInfo messages with formatArgs
- ErrorInfo.getMessage() now returns an ErrorMessage instance that can be formatted into a string using a context (this allows the construction of an ErrorInfo to remain independent of a Context) - now the service ID is used in ErrorInfo.getMessage() to customize some messages based on the currently selected service - player HTTP invalid statuses are now included in the message - building a custom error message for AccountTerminatedException was moved from ErrorPanelHelper to ErrorInfo
This commit is contained in:
parent
1bde2dcd9f
commit
a369deeef4
72 changed files with 154 additions and 146 deletions
|
|
@ -633,7 +633,6 @@
|
|||
<string name="feed_load_error_account_info">Не удалось загрузить подписку \'%s\'.</string>
|
||||
<string name="feed_load_error">Ошибка загрузки подписки</string>
|
||||
<string name="open_website_license">Открыть веб-сайт</string>
|
||||
<string name="service_provides_reason">%s указывает следующую причину:</string>
|
||||
<string name="account_terminated">Аккаунт отключён</string>
|
||||
<string name="downloads_storage_use_saf_summary_api_29">Начиная с Android 10 поддерживается только «Storage Access Framework»</string>
|
||||
<string name="downloads_storage_ask_summary_no_saf_notice">Спрашивать, куда сохранять каждую загрузку</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue