Remove some dead code in TelecomServiceImpl
Change-Id: I151356d1ff68abb164b85de7f24d2145be17b7ed
diff --git a/src/com/android/server/telecom/TelecomServiceImpl.java b/src/com/android/server/telecom/TelecomServiceImpl.java
index 071b90d..c9c0dcd 100644
--- a/src/com/android/server/telecom/TelecomServiceImpl.java
+++ b/src/com/android/server/telecom/TelecomServiceImpl.java
@@ -19,8 +19,6 @@
import static android.Manifest.permission.CALL_PHONE;
import static android.Manifest.permission.MODIFY_PHONE_STATE;
import static android.Manifest.permission.READ_PHONE_STATE;
-import static android.Manifest.permission.REGISTER_CALL_PROVIDER;
-import static android.Manifest.permission.REGISTER_CONNECTION_MANAGER;
import static android.Manifest.permission.REGISTER_SIM_SUBSCRIPTION;
import static android.Manifest.permission.WRITE_SECURE_SETTINGS;
@@ -1079,18 +1077,10 @@
enforceFeature(PackageManager.FEATURE_CONNECTION_SERVICE);
}
- private void enforceRegisterCallProviderPermission() {
- enforcePermission(REGISTER_CALL_PROVIDER);
- }
-
private void enforceRegisterSimSubscriptionPermission() {
enforcePermission(REGISTER_SIM_SUBSCRIPTION);
}
- private void enforceRegisterConnectionManagerPermission() {
- enforcePermission(REGISTER_CONNECTION_MANAGER);
- }
-
private void enforceModifyPermission() {
enforcePermission(MODIFY_PHONE_STATE);
}