Skip to content

Commit

Permalink
Merge pull request #5 from mntechnique/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
revant authored Jul 27, 2017
2 parents b180fbe + f490e5e commit 26d56cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,18 @@ class AuthenticatorActivity : AccountAuthenticatorActivity() {
//smsVerifyCatcher.setFilter("regexp");

mAccountManager = AccountManager.get(baseContext)
Log.d("IntentExtras", intent.extras.toString())

mAuthTokenType = intent.getStringExtra(ARG_AUTH_TYPE)

if (mAuthTokenType == null) {
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()
Expand Down

0 comments on commit 26d56cb

Please sign in to comment.