Commit 5bdbd6bf by Neal Soni

removed changes to permission_handler_platform_interface for separate PR

parent 2c1a2b35
......@@ -143,15 +143,6 @@ class Permission {
///websites.
static const appTrackingTransparency = Permission._(25);
///Android: Nothing
///iOS: Notifications that override your ringer
static const criticalAlerts = Permission._(26);
///Android: Allows the user to access the notification policy of the phone.
/// EX: Allows app to turn on and off do-not-disturb.
///iOS: Nothing
static const accessNotificationPolicy = Permission._(27);
/// Returns a list of all possible [PermissionGroup] values.
static const List<Permission> values = <Permission>[
calendar,
......@@ -179,9 +170,7 @@ class Permission {
manageExternalStorage,
systemAlertWindow,
requestInstallPackages,
appTrackingTransparency,
criticalAlerts,
accessNotificationPolicy,
appTrackingTransparency
];
static const List<String> _names = <String>[
......@@ -210,9 +199,7 @@ class Permission {
'manageExternalStorage',
'systemAlertWindow',
'requestInstallPackages',
'appTrackingTransparency',
'criticalAlerts',
'accessNotificationPolicy',
'appTrackingTransparency'
];
@override
......
......@@ -6,7 +6,7 @@ void main() {
() {
final values = Permission.values;
expect(values.length, 28);
expect(values.length, 26);
});
test('check if byValue returns corresponding PermissionGroup value', () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment