Merge "Add requestSatelliteDisplayNameForSubscription in SatelliteManager" into main
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index 6dcfa03..1a645da 100644
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -13781,6 +13781,26 @@
}
/**
+ * Request to get the name to display for Satellite subscription.
+ *
+ * @param result The result receiver that returns the display name to use for satellite feature
+ * in the UI for current satellite subscription if the request is successful,
+ * or an error code if the request failed.
+ *
+ * @throws SecurityException if the caller doesn't have the required permission.
+ */
+ @Override
+ public void requestSatelliteDisplayName(@NonNull ResultReceiver result) {
+ enforceSatelliteCommunicationPermission("requestSatelliteDisplayName");
+ final long identity = Binder.clearCallingIdentity();
+ try {
+ mSatelliteController.requestSatelliteDisplayName(result);
+ } finally {
+ Binder.restoreCallingIdentity(identity);
+ }
+ }
+
+ /**
* Request to get the currently selected satellite subscription id.
*
* @param result The result receiver that returns the currently selected satellite subscription