am 5b39af37: Fix unit test failure

* commit '5b39af37c00c6bb413d4b6311a22c5ba0aaaacf3':
  Fix unit test failure
This commit is contained in:
Ken Wakasa 2014-10-08 09:17:33 +00:00 committed by Android Git Automerger
commit 470cd28d99

View file

@ -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) {