diff --git a/packages/CompanionDeviceManager/res/values/strings.xml b/packages/CompanionDeviceManager/res/values/strings.xml index 82e5a7f0682a0..c898fe5a9f2c0 100644 --- a/packages/CompanionDeviceManager/res/values/strings.xml +++ b/packages/CompanionDeviceManager/res/values/strings.xml @@ -31,10 +31,10 @@ Choose a %1$s to be managed by <strong>%2$s</strong> - The app is needed to manage your %1$s. %2$s will be allowed to sync info, like the name of someone calling, interact with your notifications and access your Phone, SMS, Contacts, Calendar, Call logs and Nearby devices permissions. + This app is needed to manage your %1$s. %2$s will be allowed to sync info, like the name of someone calling, interact with your notifications and access your Phone, SMS, Contacts, Calendar, Call logs and Nearby devices permissions. - The app is needed to manage your %1$s. %2$s will be allowed to sync info, like the name of someone calling, and access these permissions: + This app will be allowed to sync info, like the name of someone calling, and access these permissions @@ -48,7 +48,7 @@ This app is needed to manage %1$s. %2$s will be allowed to interact with your notifications and access your Phone, SMS, Contacts, Microphone and Nearby devices permissions. - This app will be allowed to access these permissions on your phone: + This app will be allowed to access these permissions on your phone @@ -97,10 +97,10 @@ device - This app will be able to sync info, like the name of someone calling, between your phone and %1$s. + This app will be able to sync info, like the name of someone calling, between your phone and %1$s - This app will be able to sync info, like the name of someone calling, between your phone and the chosen device. + This app will be able to sync info, like the name of someone calling, between your phone and the chosen device diff --git a/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/CompanionDeviceActivity.java b/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/CompanionDeviceActivity.java index 71ae578ec3102..ae0882342be4d 100644 --- a/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/CompanionDeviceActivity.java +++ b/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/CompanionDeviceActivity.java @@ -551,8 +551,7 @@ public class CompanionDeviceActivity extends FragmentActivity implements summary = getHtmlFromResources(this, SUMMARIES.get(null), deviceName); mConstraintList.setVisibility(View.GONE); } else { - summary = getHtmlFromResources(this, SUMMARIES.get(deviceProfile), - getString(PROFILES_NAME.get(deviceProfile)), appLabel); + summary = getHtmlFromResources(this, SUMMARIES.get(deviceProfile)); mPermissionTypes.addAll(PERMISSION_TYPES.get(deviceProfile)); setupPermissionList(); }