Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / library / aosp-stubs / src / main / java / android / telephony / ims / ProvisioningManager$RcsProvisioningCallback.java
ProvisioningManager$RcsProvisioningCallback.java39 lines · 1.5 KiBRaw
| 1 | package android.telephony.ims; |
| 2 | |
| 3 | /** |
| 4 | * Compile-only stub of the framework's {@code @SystemApi} nested class |
| 5 | * {@code android.telephony.ims.ProvisioningManager.RcsProvisioningCallback}. |
| 6 | * |
| 7 | * The outer {@code ProvisioningManager} is hidden (bridged reflectively via |
| 8 | * {@code RcsHiddenApi.provisioningManager}), and this nested callback is a |
| 9 | * concrete class, not an interface — so {@code java.lang.reflect.Proxy} |
| 10 | * cannot implement it (verified on-device: "not an interface"). Declared |
| 11 | * here as a top-level class whose binary name matches the framework nested |
| 12 | * class, so compile-time references link and runtime links against the real |
| 13 | * framework class. Same mechanism as the |
| 14 | * {@code TelephonyManager$BootstrapAuthenticationCallback} stub used for |
| 15 | * live GBA. Kotlin callers subclass it directly with overrides. |
| 16 | * |
| 17 | * Not packaged; the real class is provided by the framework at runtime. |
| 18 | */ |
| 19 | public class ProvisioningManager$RcsProvisioningCallback { |
| 20 | public ProvisioningManager$RcsProvisioningCallback() { |
| 21 | throw new RuntimeException("Stub"); |
| 22 | } |
| 23 | |
| 24 | public void onConfigurationChanged(byte[] configXml) { |
| 25 | throw new RuntimeException("Stub"); |
| 26 | } |
| 27 | |
| 28 | public void onAutoConfigurationErrorReceived(int errorCode, String errorString) { |
| 29 | throw new RuntimeException("Stub"); |
| 30 | } |
| 31 | |
| 32 | public void onConfigurationReset() { |
| 33 | throw new RuntimeException("Stub"); |
| 34 | } |
| 35 | |
| 36 | public void onRemoved() { |
| 37 | throw new RuntimeException("Stub"); |
| 38 | } |
| 39 | } |