Searched refs:enabledPackages (Results 1 – 1 of 1) sorted by relevance
1908 List<String> enabledPackages = getEnabledNotificationPolicyPackages(userId); in allowNotificationPolicyAccess() local1909 if (!enabledPackages.contains(packageName)) { in allowNotificationPolicyAccess()1910 enabledPackages.add(packageName); in allowNotificationPolicyAccess()1911 setEnabledNotificationPolicyPackages(enabledPackages, userId); in allowNotificationPolicyAccess()1921 List<String> enabledPackages = getEnabledNotificationPolicyPackages(userId); in disallowNotificationPolicyAccess() local1922 if (enabledPackages.contains(packageName)) { in disallowNotificationPolicyAccess()1923 enabledPackages.remove(packageName); in disallowNotificationPolicyAccess()1924 setEnabledNotificationPolicyPackages(enabledPackages, userId); in disallowNotificationPolicyAccess()