Update javadoc to match expectation for UnsupportedOperationException

Test: builds
Change-Id: I44eac15972ed099fc12599a78a71557a7b16d593
This commit is contained in:
Patrick Rohr
2022-03-28 11:47:20 +02:00
parent ddc2622ec7
commit 0f2cbe92f1

View File

@@ -554,7 +554,8 @@ public class EthernetManager {
* information about the error.
* @throws SecurityException if the process doesn't hold
* {@link android.Manifest.permission.MANAGE_ETHERNET_NETWORKS}.
* @throws UnsupportedOperationException if called on a non-automotive device or on an
* @throws UnsupportedOperationException if the {@link NetworkCapabilities} are updated on a
* non-automotive device or this function is called on an
* unsupported interface.
* @hide
*/