private static View getUserRowView(DragSortItemView dragSortItemView) {
    View userRowView = null;
    for (int i = 0; i < dragSortItemView.getChildCount(); i++) {
      if (dragSortItemView.getChildAt(i) instanceof UserRowView) {
        userRowView = dragSortItemView.getChildAt(i);
      }
    }
    return userRowView;
  }
Set the preference for key KEY_DARK_MODE_ENABLED of {@link AuthenticatorActivity}.
javatests/com/google/android/apps/authenticator/AuthenticatorActivityTest.java