support status code 451 in quicksy registration
This commit is contained in:
parent
2956cfdb95
commit
c9bf1474e3
|
@ -42,6 +42,9 @@ public class ApiDialogHelper {
|
||||||
case 409:
|
case 409:
|
||||||
res = R.string.logged_in_with_another_device;
|
res = R.string.logged_in_with_another_device;
|
||||||
break;
|
break;
|
||||||
|
case 451:
|
||||||
|
res = R.string.not_available_in_your_country;
|
||||||
|
break;
|
||||||
case 500:
|
case 500:
|
||||||
res = R.string.something_went_wrong_processing_your_request;
|
res = R.string.something_went_wrong_processing_your_request;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -19,4 +19,5 @@
|
||||||
<string name="no_microphone_permission">Quicksy needs access to the microphone</string>
|
<string name="no_microphone_permission">Quicksy needs access to the microphone</string>
|
||||||
<string name="foreground_service_channel_description">This notification category is used to display a permanent notification indicating that Quicksy is running.</string>
|
<string name="foreground_service_channel_description">This notification category is used to display a permanent notification indicating that Quicksy is running.</string>
|
||||||
<string name="set_profile_picture">Quicksy profile picture</string>
|
<string name="set_profile_picture">Quicksy profile picture</string>
|
||||||
|
<string name="not_available_in_your_country">Quicksy is not available in your country.</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue