Merge change 4674 into donut
* changes:
FIX 1914930 -- Bad state of Emergency Dialer after orientation change.
diff --git a/src/com/android/phone/BluetoothHeadsetService.java b/src/com/android/phone/BluetoothHeadsetService.java
index fec992c..ab298e0 100644
--- a/src/com/android/phone/BluetoothHeadsetService.java
+++ b/src/com/android/phone/BluetoothHeadsetService.java
@@ -650,6 +650,11 @@
}
return mHeadsetPriority.get(address.toUpperCase());
}
+ public int getBatteryUsageHint() {
+ enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
+
+ return HeadsetBase.getAtInputCount();
+ }
};
@Override