Remove duplicate classes from org.apache.http.legacy.stubs
Previously, the org.apache.http.legacy.stubs library contained classes
that were also provided by android.jar stubs library. That caused
problems for app developers, e.g, bug 118826718. This change ensures
that the org.apache.http.legacy.stubs library no longer overlaps with
the android.jar stubs library by subtracting the API specification for
the android.jar from the API specification for this.
This could potentially cause build problems if someone is building
against the org.apache.http.legacy.stubs but not against android.jar
stubs. However, that is very unlikely and easy to fix. Binary
compatibility is not affected by this.
Test: make org.apache.http.legacy.stubs and check classes to ensure
that they do not contain classes provided by android.jar
2 files changed