Fix unit test failure
Change-Id: I5a28c6775385ba3b0b7d86c85064fd28f3cbb353
This commit is contained in:
parent
847735fdfa
commit
5b39af37c0
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,7 @@ import android.text.TextUtils;
|
|||
import android.widget.ListView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.android.inputmethod.annotations.UsedForTesting;
|
||||
import com.android.inputmethod.latin.R;
|
||||
import com.android.inputmethod.latin.SubtypeSwitcher;
|
||||
import com.android.inputmethod.latin.accounts.LoginAccountUtils;
|
||||
|
@ -176,6 +177,7 @@ public final class AccountsSettingsFragment extends SubScreenFragment {
|
|||
*
|
||||
* Package-private for testing.
|
||||
*/
|
||||
@UsedForTesting
|
||||
AlertDialog createAccountPicker(final String[] accounts,
|
||||
final String selectedAccount) {
|
||||
if (accounts == null || accounts.length == 0) {
|
||||
|
|
Loading…
Reference in a new issue