Fix an embarrassing bug... again.
For the same reason as aosp/1549479, the old method
needs to call the new one. It's not enough that they have
the same implementation ; when NF calls the old one, it
needs to indeed call the overridden new version.
Test: TH
Change-Id: I5e8700fc7455317da382f2328e3f548b3392ca41
diff --git a/staticlibs/device/android/net/NetworkFactory.java b/staticlibs/device/android/net/NetworkFactory.java
index 4bc45cf..bcc6089 100644
--- a/staticlibs/device/android/net/NetworkFactory.java
+++ b/staticlibs/device/android/net/NetworkFactory.java
@@ -247,7 +247,7 @@
/** @deprecated None of the implementors use the score, remove this method */
@Deprecated
public boolean acceptRequest(NetworkRequest request, int score) {
- return true;
+ return acceptRequest(request);
}
/**