API Change Statistics

The overall difference between API Levels 25.3.0 and 25.4.0 is approximately 0.92%.


Total of Differences, by Number and Type

The table below lists the numbers of program elements (packages, classes, constructors, methods, and fields) that were added, changed, or removed. The table includes only the highest-level program elements — that is, if a class with two methods was added, the number of methods added does not include those two methods, but the number of classes added does include that class.

Type Additions Changes Removals Total
Packages 0 8 0 8
Classes and Interfaces 5 22 0 27
Constructors 3 2 0 5
Methods 32 2 0 34
Fields 8 0 0 8
Total 48 34 0 82

Changed Packages, Sorted by Percentage Difference

Percentage Difference* Package
40 android.support.animation
4 android.support.v4.media
1 android.support.v4.widget
1 android.support.v4.app
1 android.support.v4.media.session
<1 android.support.v17.leanback.app
<1 android.support.v17.leanback.media
<1 android.support.v4.content

* See Calculation of Change Percentages, below.


Changed Classes and Interfaces, Sorted by Percentage Difference

Percentage
Difference*
Class or Interface
50 android.support.v4.app.ActionBarDrawerToggle.DelegateProvider
41 android.support.animation.SpringAnimation
33 android.support.v4.media.MediaBrowserServiceCompat.Result
16 android.support.v4.app.ActionBarDrawerToggle.Delegate
11 android.support.v17.leanback.app.DetailsFragmentBackgroundController
11 android.support.v17.leanback.app.DetailsSupportFragmentBackgroundController
11 android.support.v17.leanback.app.OnboardingFragment
11 android.support.v17.leanback.app.OnboardingSupportFragment
10 android.support.animation.DynamicAnimation
4 android.support.v4.media.session.MediaSessionCompat
4 android.support.v4.content.IntentCompat
4 android.support.v17.leanback.media.PlaybackControlGlue
4 android.support.v4.media.session.MediaControllerCompat.Callback
3 android.support.v4.media.MediaBrowserServiceCompat
3 android.support.v4.media.MediaBrowserCompat
2 android.support.v4.media.session.MediaControllerCompat.TransportControls
2 android.support.v4.app.FragmentManager
1 android.support.v4.media.session.MediaSessionCompat.Callback
1 android.support.v4.media.session.MediaControllerCompat
<1 android.support.v4.app.Fragment
<1 android.support.v4.media.session.PlaybackStateCompat
<1 android.support.animation.DynamicAnimation.ViewProperty

* See Calculation of Change Percentages, below.


Calculation of Change Percentages

The percent change statistic reported for all elements in the "to" API Level 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. This definition is applied recursively for the classes and their program elements, so the value for a changed package will be less than 1, unless every class in that package has changed. The definition ensures that if all packages are removed and all new packages are added, the change will be 100%.