@InlineMe(replacement = "this.setPrimary(keyId)")
  @CanIgnoreReturnValue
  @Deprecated
  public synchronized AndroidKeysetManager promote(int keyId)
      throws GeneralSecurityException {
    return setPrimary(keyId);
  }
Sets the key with {@code keyId} as primary.

@throws GeneralSecurityException if the key is not found or not enabled
@deprecated use {@link setPrimary}
java_src/src/main/java/com/google/crypto/tink/integration/android/AndroidKeysetManager.java