API Change Statistics

The overall difference between API Levels 37 and 37.1 is approximately 0.52%.


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 1 16 0 17
Classes and Interfaces 13 40 0 53
Constructors 0 0 0 0
Methods 28 10 0 38
Fields 42 167 0 209
Total 84 233 0 317

Changed Packages, Sorted by Percentage Difference

Percentage Difference* Package
60 android.hardware.input
28 java.util.jar
12 android.widget.photopicker
1 android.net.http
<1 android.graphics.drawable
<1 android.health.connect.datatypes
<1 android.provider
<1 android.system
<1 android.telecom
<1 java.util
<1 android.view
<1 android
<1 android.os
<1 android.health.connect
<1 android.media
<1 android.content

* See Calculation of Change Percentages, below.


Changed Classes and Interfaces, Sorted by Percentage Difference

Percentage
Difference*
Class or Interface
90 java.util.jar.JarOutputStream
83 java.util.jar.JarInputStream
74 java.util.jar.JarEntry
66 java.util.jar.JarFile
60 android.health.connect.datatypes.Record
24 android.hardware.input.InputManager
21 android.widget.photopicker.EmbeddedPhotoPickerFeatureInfo
14 android.widget.photopicker.EmbeddedPhotoPickerFeatureInfo.Builder
7 android.health.connect.datatypes.Device.Builder
7 java.util.Base64
5 android.health.connect.datatypes.AlcoholConsumptionRecord
4 android.provider.MediaStore.Images.ImageColumns
4 android.graphics.drawable.DrawableContainer
4 android.graphics.drawable.NinePatchDrawable
3 android.graphics.drawable.AdaptiveIconDrawable
2 android.graphics.drawable.ShapeDrawable
2 android.health.connect.datatypes.Device
2 android.net.http.BidirectionalStream
2 android.net.http.UrlRequest
2 android.provider.DocumentsProvider
2 android.system.OsConstants
2 android.health.connect.datatypes.SymptomRecord
1 android.view.ViewConfiguration
1 android.graphics.drawable.BitmapDrawable
1 android.telecom.Call.Details
1 android.provider.DocumentsContract.Document
1 android.os.Build.VERSION_CODES_FULL
1 android.media.MediaParser
<1 android.telecom.PhoneAccount
<1 android.graphics.drawable.GradientDrawable
<1 android.provider.DocumentsContract
<1 android.graphics.drawable.LayerDrawable
<1 android.provider.MediaStore
<1 android.graphics.drawable.Drawable
<1 android.view.WindowManager.LayoutParams
<1 android.system.Os
<1 android.Manifest.permission
<1 android.health.connect.HealthPermissions
<1 android.content.Context
<1 android.view.KeyEvent

* 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%.