improved political correctness

This commit is contained in:
Mariotaku Lee 2017-02-15 14:48:30 +08:00
parent 00e969f806
commit 95fdb49477
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class AccountSelectorActivity : BaseActivity(), OnItemClickListener {
private lateinit var adapter: AccountDetailsAdapter
private val keysWhiteList: Array<UserKey>?
private val onlyIncludeKeys: Array<UserKey>?
get() {
return intent.getParcelableArrayExtra(EXTRA_ACCOUNT_KEYS)?.toTypedArray(UserKey.CREATOR)
}
@ -94,7 +94,7 @@ class AccountSelectorActivity : BaseActivity(), OnItemClickListener {
setSortEnabled(false)
val am = AccountManager.get(context)
val allAccountDetails = AccountUtils.getAllAccountDetails(am, AccountUtils.getAccounts(am), false)
val extraKeys = keysWhiteList
val extraKeys = onlyIncludeKeys
val oauthOnly = isOAuthOnly
val accountHost = accountHost
addAll(allAccountDetails.filter {