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

Commit 107b9676 authored by Chalard Jean's avatar Chalard Jean Committed by Automerger Merge Worker
Browse files

Merge "Expose sendNetworkScore that takes a NetworkScore" into sc-dev am: 80ee4a6f

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14048551

Change-Id: I12aa33414d7e95ab5340e6b1bef3be4e62cfc0e7
parents 4548a03c 80ee4a6f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -232,6 +232,7 @@ package android.net {
    method @NonNull public android.net.Network register();
    method public final void sendLinkProperties(@NonNull android.net.LinkProperties);
    method public final void sendNetworkCapabilities(@NonNull android.net.NetworkCapabilities);
    method public final void sendNetworkScore(@NonNull android.net.NetworkScore);
    method public final void sendNetworkScore(@IntRange(from=0, to=99) int);
    method public final void sendQosCallbackError(int, int);
    method public final void sendQosSessionAvailable(int, int, @NonNull android.net.QosSessionAttributes);
+0 −1
Original line number Diff line number Diff line
@@ -956,7 +956,6 @@ public abstract class NetworkAgent {
     * Must be called by the agent to update the score of this network.
     *
     * @param score the new score.
     * @hide TODO : unhide when impl is complete
     */
    public final void sendNetworkScore(@NonNull NetworkScore score) {
        Objects.requireNonNull(score);