Send mute state to UI.
Append to API to support deliver of mute status.
Have PhoneUtils.setMuteInternal notify the AudioRouter of the change.
AudioRouter then notifies CallHandlerServiceProxy.
Removed unused "previousstate" from the AudioRouter listener method;
replaced it with muted state.
bug:10395427
Change-Id: I0295e9d6b9af981c4911f2f5ba3abd65b748fd6e
diff --git a/src/com/android/phone/PhoneUtils.java b/src/com/android/phone/PhoneUtils.java
index 6b96737..586cf88 100644
--- a/src/com/android/phone/PhoneUtils.java
+++ b/src/com/android/phone/PhoneUtils.java
@@ -1971,6 +1971,7 @@
phone.setMute(muted);
}
app.notificationMgr.updateMuteNotification();
+ app.getAudioRouter().onMuteChange(muted);
}
/**