Merge "Add isBatteryCharging to NetworkProviderInfo extras" into udc-dev

This commit is contained in:
Matt Walliser
2023-04-17 16:08:51 +00:00
committed by Android (Google) Code Review

View File

@@ -84,6 +84,12 @@ public final class NetworkProviderInfo implements Parcelable {
public @interface DeviceType {
}
/**
* Key in extras bundle indicating that the device battery is charging.
* @hide
*/
public static final String EXTRA_KEY_IS_BATTERY_CHARGING = "is_battery_charging";
@DeviceType
private final int mDeviceType;
private final String mDeviceName;