Merge "Add isBatteryCharging to NetworkProviderInfo extras" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
53c8ac6f3f
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user