Expose new algorithms as public API

Bug: 161716062
Test: FrameworksNetTests:IpSecAlgorithmTest
Change-Id: I5041c61ad5a4aa58b259e24de80a2c63d6b19dae
This commit is contained in:
Yan Yan
2020-08-12 13:48:39 -07:00
parent 21abcd0248
commit 4f86de5e54

View File

@@ -74,8 +74,6 @@ public final class IpSecAlgorithm implements Parcelable {
* requested on an unsupported device. * requested on an unsupported device.
* *
* <p>@see {@link #getSupportedAlgorithms()} * <p>@see {@link #getSupportedAlgorithms()}
*
* @hide
*/ */
// This algorithm may be available on devices released before Android 12, and is guaranteed // This algorithm may be available on devices released before Android 12, and is guaranteed
// to be available on devices first shipped with Android 12 or later. // to be available on devices first shipped with Android 12 or later.
@@ -142,8 +140,6 @@ public final class IpSecAlgorithm implements Parcelable {
* requested on an unsupported device. * requested on an unsupported device.
* *
* <p>@see {@link #getSupportedAlgorithms()} * <p>@see {@link #getSupportedAlgorithms()}
*
* @hide
*/ */
// This algorithm may be available on devices released before Android 12, and is guaranteed // This algorithm may be available on devices released before Android 12, and is guaranteed
// to be available on devices first shipped with Android 12 or later. // to be available on devices first shipped with Android 12 or later.
@@ -180,8 +176,6 @@ public final class IpSecAlgorithm implements Parcelable {
* requested on an unsupported device. * requested on an unsupported device.
* *
* <p>@see {@link #getSupportedAlgorithms()} * <p>@see {@link #getSupportedAlgorithms()}
*
* @hide
*/ */
// This algorithm may be available on devices released before Android 12, and is guaranteed // This algorithm may be available on devices released before Android 12, and is guaranteed
// to be available on devices first shipped with Android 12 or later. // to be available on devices first shipped with Android 12 or later.
@@ -314,8 +308,6 @@ public final class IpSecAlgorithm implements Parcelable {
* *
* <p>Some algorithms may not be supported on old devices. Callers MUST check if an algorithm is * <p>Some algorithms may not be supported on old devices. Callers MUST check if an algorithm is
* supported before using it. * supported before using it.
*
* @hide
*/ */
@NonNull @NonNull
public static Set<String> getSupportedAlgorithms() { public static Set<String> getSupportedAlgorithms() {