The overall difference between API specifications 37.2 and d-beta1 is approximately 0.20%.
Total of differences, by number and type
The table lists the numbers of program elements (packages, classes, constructors, methods, and fields) that were added, changed, or removed. Only the highest-level program elements are counted (for example, methods inside a newly added class are counted under that added class rather than as individual added methods).
| Type | Additions | Changes | Removals | Total |
|---|---|---|---|---|
| Packages | 0 | 8 | 1 | 9 |
| Classes and Interfaces | 2 | 15 | 0 | 17 |
| Constructors | 2 | 0 | 0 | 2 |
| Methods | 18 | 5 | 0 | 23 |
| Fields | 8 | 0 | 0 | 8 |
| Total | 30 | 28 | 1 | 59 |
Changed packages, sorted by percentage difference
| Percentage Difference* | Package |
|---|---|
| 9% | android.widget.photopicker |
| 1% | android.app.appsearch |
| <1% | android.system |
| <1% | android.media |
| <1% | android.health.connect |
| <1% | android.hardware.camera2 |
| <1% | android.telecom |
| <1% | android.content.pm |
* See Calculation of change percentages.
Changed classes and interfaces, sorted by percentage difference
* See Calculation of change percentages.
Calculation of change percentages
The percentage change statistic reported for elements in the specification is defined recursively as follows:
Percentage difference = 100 * (added + removed + 2 * changed)
-------------------------------------
sum of public elements in BOTH APIs
where added is the number of packages added, removed is the number of packages removed, and changed is the number of packages changed (weighted recursively by each package's class and member differences). If all packages are removed and replaced by entirely new packages, the overall percentage difference is 100%.