@ -19,7 +19,7 @@ object Permissions {
val all : List < Permission >
val all : List < Permission >
get ( ) {
get ( ) {
val result = mutableListOf < Permission > ( )
val result = mutableListOf < Permission > ( )
if ( Build . VERSION . SDK _INT < Build . VERSION_CODES . TI RAMISU ) {
if ( Build . VERSION . SDK _INT < Build . VERSION_CODES . R) {
result . add (
result . add (
Permission (
Permission (
Manifest . permission . WRITE _EXTERNAL _STORAGE ,
Manifest . permission . WRITE _EXTERNAL _STORAGE ,
@ -27,7 +27,8 @@ object Permissions {
R . string . permission _write _external _storage _needed ,
R . string . permission _write _external _storage _needed ,
R . string . permission _write _external _storage _granted ,
R . string . permission _write _external _storage _granted ,
) )
) )
} else {
}
if ( Build . VERSION . SDK _INT >= Build . VERSION_CODES . TIRAMISU ) {
result . add (
result . add (
Permission (
Permission (
Manifest . permission . POST _NOTIFICATIONS ,
Manifest . permission . POST _NOTIFICATIONS ,