File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
src/com/salesforce/androidsdk/ui Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 31
31
<string name =" sf__setup_biometric_unlock" >Setup Biometric Unlock</string >
32
32
<string name =" sf__back_button_content_description" >Back</string >
33
33
<string name =" sf__loading_indicator" >Loading</string >
34
+ <string name =" sf__cannot_use_another_apps_login_qr_code" >Cannot use another app\'s login QR Code. Please log in to this app.</string >
35
+ <string name =" sf__cannot_use_another_login_hosts_login_qr_code" >Cannot use another login host\'s login QR Code. Please log in to this app.</string >
34
36
35
37
<!-- Server picker -->
36
38
<string name =" sf__auth_login_production" >Production</string >
Original file line number Diff line number Diff line change 7
7
<string name =" app_name" >SalesforceSDK</string >
8
8
<string name =" account_type" >com.salesforce.androidsdk</string >
9
9
<string name =" app_package" >com.salesforce.androidsdk</string >
10
- <string name =" cannot_use_another_apps_login_qr_code" >Cannot use another app\'s login QR Code. Please log in to this app.</string >
11
- <string name =" cannot_use_another_login_hosts_login_qr_code" >Cannot use another login host\'s login QR Code. Please log in to this app.</string >
12
10
13
11
<!-- If you're only supporting recent versions of Android (e.g. 3.x and up), you can override this to be touch and get a better looking login UI -->
14
12
<string name =" oauth_display_type" >touch</string >
Original file line number Diff line number Diff line change @@ -109,8 +109,8 @@ import com.salesforce.androidsdk.R.color.sf__background
109
109
import com.salesforce.androidsdk.R.color.sf__background_dark
110
110
import com.salesforce.androidsdk.R.color.sf__primary_color
111
111
import com.salesforce.androidsdk.R.drawable.sf__action_back
112
- import com.salesforce.androidsdk.R.string.cannot_use_another_apps_login_qr_code
113
- import com.salesforce.androidsdk.R.string.cannot_use_another_login_hosts_login_qr_code
112
+ import com.salesforce.androidsdk.R.string.sf__cannot_use_another_apps_login_qr_code
113
+ import com.salesforce.androidsdk.R.string.sf__cannot_use_another_login_hosts_login_qr_code
114
114
import com.salesforce.androidsdk.R.string.sf__biometric_opt_in_title
115
115
import com.salesforce.androidsdk.R.string.sf__generic_authentication_error_title
116
116
import com.salesforce.androidsdk.R.string.sf__jwt_authentication_error
@@ -898,9 +898,9 @@ open class LoginActivity : FragmentActivity() {
898
898
// Alert the user if the front door bridge URL failed validation and was discarded.
899
899
var errorMessage: String? = null
900
900
if (frontdoorBridgeLoginOverride?.matchesConsumerKey == false ) {
901
- errorMessage = getString(cannot_use_another_apps_login_qr_code )
901
+ errorMessage = getString(sf__cannot_use_another_apps_login_qr_code )
902
902
} else if (frontdoorBridgeLoginOverride?.matchesLoginHost == false ) {
903
- errorMessage = getString(cannot_use_another_login_hosts_login_qr_code )
903
+ errorMessage = getString(sf__cannot_use_another_login_hosts_login_qr_code )
904
904
}
905
905
errorMessage?.let { errorMessage ->
906
906
runOnUiThread {
You can’t perform that action at this time.
0 commit comments