Merge change Id7b9903e into eclair-mr2
* changes: Add setAttentionLight() to IPowerManager for the Phone app.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user