diff --git a/app/build.gradle b/app/build.gradle index 7d62dee..15cf768 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,8 +7,8 @@ android { defaultConfig { minSdkVersion 15 targetSdkVersion 26 - versionCode 6 - versionName "1.0.0" + versionCode 7 + versionName "1.0.1" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { diff --git a/app/src/main/java/com/mntechnique/otpmobileauth/auth/AuthenticatorActivity.kt b/app/src/main/java/com/mntechnique/otpmobileauth/auth/AuthenticatorActivity.kt index e3f3469..317a150 100644 --- a/app/src/main/java/com/mntechnique/otpmobileauth/auth/AuthenticatorActivity.kt +++ b/app/src/main/java/com/mntechnique/otpmobileauth/auth/AuthenticatorActivity.kt @@ -79,7 +79,6 @@ class AuthenticatorActivity : AccountAuthenticatorActivity() { //smsVerifyCatcher.setFilter("regexp"); mAccountManager = AccountManager.get(baseContext) - Log.d("IntentExtras", intent.extras.toString()) mAuthTokenType = intent.getStringExtra(ARG_AUTH_TYPE) @@ -87,11 +86,11 @@ class AuthenticatorActivity : AccountAuthenticatorActivity() { mAuthTokenType = AccountGeneral.AUTHTOKEN_TYPE_FULL_ACCESS } - Log.d("Intent:ACCOUNT_NAME", intent.extras.toString()) val accounts = mAccountManager.getAccountsByType(intent.getStringExtra(ARG_ACCOUNT_TYPE)) allowMultipleAccounts = Integer.parseInt(resources.getString(R.string.allowMultipleAccounts)) var signInAgain: Boolean? = true if (intent.hasExtra(ARG_ACCOUNT_NAME)) { + Log.d("IntentExtras", intent.extras.toString()) for (account in accounts) { if (account.name == intent.getStringExtra(ARG_ACCOUNT_NAME)) { wireUpUI()