Home
last modified time | relevance | path

Searched refs:requiredPermission (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAccessConfirmationActivity.java98 String requiredPermission = Manifest.permission.BIND_NOTIFICATION_LISTENER_SERVICE; in onAllow() local
101 if (!requiredPermission.equals(serviceInfo.permission)) { in onAllow()
103 "Service " + mComponentName + " lacks permission " + requiredPermission); in onAllow()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationAccessConfirmationActivity.java98 String requiredPermission = Manifest.permission.BIND_NOTIFICATION_LISTENER_SERVICE; in onAllow() local
101 if (!requiredPermission.equals(serviceInfo.permission)) { in onAllow()
103 "Service " + mComponentName + " lacks permission " + requiredPermission); in onAllow()