Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cfe7b7a0 authored by Cody Kesting's avatar Cody Kesting Committed by Android (Google) Code Review
Browse files

Merge "Define callback for network tested with extras."

parents bc9ca863 e5edebd7
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -42,7 +42,10 @@ aidl_interface {
aidl_interface {
    name: "networkstack-aidl-interfaces",
    local_include_dir: "src",
    include_dirs: ["frameworks/base/core/java"], // For framework parcelables.
    include_dirs: [
        "frameworks/base/core/java", // For framework parcelables.
        "frameworks/native/aidl/binder/android/os", // For PersistableBundle.aidl
    ],
    srcs: [
        "src/android/net/DhcpResultsParcelable.aidl",
        "src/android/net/INetworkMonitor.aidl",
+4 −0
Original line number Diff line number Diff line
@@ -22,9 +22,13 @@ import android.net.PrivateDnsConfigParcel;
/** @hide */
oneway interface INetworkMonitorCallbacks {
    void onNetworkMonitorCreated(in INetworkMonitor networkMonitor);

    // Deprecated. Use notifyNetworkTestedWithExtras() instead.
    void notifyNetworkTested(int testResult, @nullable String redirectUrl);
    void notifyPrivateDnsConfigResolved(in PrivateDnsConfigParcel config);
    void showProvisioningNotification(String action, String packageName);
    void hideProvisioningNotification();
    void notifyProbeStatusChanged(int probesCompleted, int probesSucceeded);
    void notifyNetworkTestedWithExtras(int testResult, @nullable String redirectUrl,
            long timestampMillis, in PersistableBundle extras);
}
 No newline at end of file