M Developer Preview 2 (July 2015)
- API Name Changes:
-
- Moved the {@code android.app.AssistContent} class into the new package,
{@code android.app.assist} in the Assist API. The full class
name is now {@code android.app.assist.AssistContent}.
- Moved the {@code android.app.AssistStructure} class to the new package,
{@code android.app.assist} in the Assist API. The full class name
is now {@code android.app.assist.AssistStructure}.
- Replaced the {@code ScanResult.PasspointNetwork} property with the
{@code ScanResult.isPasspointNetwork()} method for HotSpot 2.0 support.
- Replaced the {@code InputDevice.hasMic()} method with {@code InputDevice.hasMicrophone()}
for the Audio API.
- Renamed the {@code View.OnStylusButtonPressListener} class to
{@code View.OnContextClickListener} for Bluetooth Stylus support.
- Renamed the {@code GestureDetector.OnStylusButtonPressListener} class to
{@code GestureDetector.OnContextClickListener} for Bluetooth Stylus support.
- Renamed the {@code android.app.usage.NetworkUsageStats} class to
{@code android.app.usage.NetworkStats}.
- Renamed the {@code android.app.usage.NetworkUsageStats.Bucket} class to
{@code android.app.usage.NetworkStats.Bucket}.