mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-06-10 00:27:49 +00:00
parent
c9a27b830d
commit
bb4450a00b
6 changed files with 24 additions and 20 deletions
|
@ -1,7 +1,5 @@
|
|||
package com.beemdevelopment.aegis;
|
||||
|
||||
import android.Manifest;
|
||||
import android.os.Build;
|
||||
import android.view.View;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
@ -64,9 +62,10 @@ public abstract class AegisTest {
|
|||
|
||||
private static GrantPermissionRule getGrantPermissionRule() {
|
||||
List<String> perms = new ArrayList<>();
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||
// NOTE: Disabled for now. See issue: #1047
|
||||
/*if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||
perms.add(Manifest.permission.POST_NOTIFICATIONS);
|
||||
}
|
||||
}*/
|
||||
return GrantPermissionRule.grant(perms.toArray(new String[0]));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue