Backout a054d74dea39(Bug 766273) due to missing r= in comments

This commit is contained in:
Hsin-Yi Tsai 2012-06-22 10:22:39 +08:00
Родитель cab153d201
Коммит e1578af8d3
1 изменённых файлов: 2 добавлений и 16 удалений

Просмотреть файл

@ -1530,22 +1530,8 @@ let RIL = {
*/
hangUp: function hangUp(options) {
let call = this.currentCalls[options.callIndex];
if (!call) {
return;
}
switch (call.state) {
case CALL_STATE_ACTIVE:
case CALL_STATE_DIALING:
case CALL_STATE_ALERTING:
Buf.newParcel(REQUEST_HANGUP);
Buf.writeUint32(1);
Buf.writeUint32(options.callIndex);
Buf.sendParcel();
break;
case CALL_STATE_HOLDING:
Buf.simpleRequest(REQUEST_HANGUP_WAITING_OR_BACKGROUND);
break;
if (call && call.state != CALL_STATE_HOLDING) {
Buf.simpleRequest(REQUEST_HANGUP_FOREGROUND_RESUME_BACKGROUND);
}
},