Merge cherrypicks of [12721685, 12721367, 12721368, 12721369, 12721348, 12721705, 12721725, 12721726, 12721745] into rvc-release
Change-Id: I71a76c24034c1ab49fb17d3b97763974c6964ade
diff --git a/src/com/android/server/telecom/TtyManager.java b/src/com/android/server/telecom/TtyManager.java
index 2d04234..dfddb8f 100644
--- a/src/com/android/server/telecom/TtyManager.java
+++ b/src/com/android/server/telecom/TtyManager.java
@@ -49,7 +49,9 @@
IntentFilter intentFilter = new IntentFilter(
TelecomManager.ACTION_TTY_PREFERRED_MODE_CHANGED);
- mContext.registerReceiver(mReceiver, intentFilter);
+ mContext.registerReceiver(mReceiver, intentFilter,
+ android.Manifest.permission.MODIFY_PHONE_STATE,
+ null);
updateCurrentTtyMode();
}