Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / library / aosp-stubs / src / main / java / android / net / NetworkProvider.java
NetworkProvider.java15 lines · 485 BRaw
| 1 | package android.net; |
| 2 | |
| 3 | import android.content.Context; |
| 4 | import android.os.Looper; |
| 5 | |
| 6 | /** |
| 7 | * Stub of the @SystemApi {@code android.net.NetworkProvider}. Registered through |
| 8 | * {@code ConnectivityManager.registerNetworkProvider}, which callers reach reflectively so the |
| 9 | * public {@code ConnectivityManager} is not shadowed here. |
| 10 | */ |
| 11 | public class NetworkProvider { |
| 12 | public NetworkProvider(Context context, Looper looper, String name) { |
| 13 | throw new RuntimeException("Stub!"); |
| 14 | } |
| 15 | } |