Merge change Id7b9903e into eclair-mr2

* changes:
  Add setAttentionLight() to IPowerManager for the Phone app.
This commit is contained in:
Android (Google) Code Review
2009-11-25 12:34:28 -08:00
2 changed files with 6 additions and 0 deletions

View File

@@ -2476,6 +2476,11 @@ class PowerManagerService extends IPowerManager.Stub
}
}
public void setAttentionLight(boolean on, int color) {
mContext.enforceCallingOrSelfPermission(android.Manifest.permission.DEVICE_POWER, null);
mLightsService.setAttentionLight(on, color);
}
private void enableProximityLockLocked() {
if (mDebugProximitySensor) {
Log.d(TAG, "enableProximityLockLocked");