diff --git a/packages/CompanionDeviceManager/res/values/strings.xml b/packages/CompanionDeviceManager/res/values/strings.xml index 3b215415a460d..0764d9032c1b8 100644 --- a/packages/CompanionDeviceManager/res/values/strings.xml +++ b/packages/CompanionDeviceManager/res/values/strings.xml @@ -43,7 +43,7 @@ glasses - This app is needed to manage your %1$s. %2$s will be allowed to access your Phone, SMS, Contacts, Microphone and Nearby devices permissions. + This app is needed to manage your %1$s. %2$s will be allowed to interact with your notifications and access your Phone, SMS, Contacts, Microphone and Nearby devices permissions. The app is needed to manage your %1$s. %2$s will be allowed to interact with these permissions: diff --git a/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/CompanionDeviceActivity.java b/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/CompanionDeviceActivity.java index 49a6334506294..8d0a2c04ee2b3 100644 --- a/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/CompanionDeviceActivity.java +++ b/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/CompanionDeviceActivity.java @@ -592,13 +592,13 @@ public class CompanionDeviceActivity extends FragmentActivity implements setupPermissionList(); } else if (deviceProfile.equals(DEVICE_PROFILE_GLASSES)) { profileName = getString(R.string.profile_name_glasses); - title = getHtmlFromResources(this, R.string.confirmation_title, appLabel, profileName); + title = getHtmlFromResources(this, R.string.confirmation_title, appLabel, deviceName); summary = getHtmlFromResources( this, R.string.summary_glasses_single_device, profileName, appLabel); profileIcon = getIcon(this, R.drawable.ic_glasses); mPermissionTypes.addAll(Arrays.asList( - PERMISSION_PHONE, PERMISSION_SMS, PERMISSION_CONTACTS, + PERMISSION_NOTIFICATION, PERMISSION_PHONE, PERMISSION_SMS, PERMISSION_CONTACTS, PERMISSION_MICROPHONE, PERMISSION_NEARBY_DEVICES)); setupPermissionList();