mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-22 01:51:47 +00:00
Starting next month (September 2023) it will be required to target Android 13 to publish to the Play Store. On Android 13, we need to request the POST_NOTIFICATIONS permission. This change adds the permission as required/optional to the plugins that do create notifications. It also adds a popup to request it the first time you open the app.
26 lines
847 B
XML
26 lines
847 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
SPDX-FileCopyrightText: 2023 Albert Vaca Cintora <albertvaka@gmail.com>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
-->
|
|
|
|
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:drawablePadding="8dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingBottom="12dp"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp"
|
|
android:text="@string/no_notifications"
|
|
app:drawableStartCompat="@drawable/ic_warning"
|
|
app:drawableLeftCompat="@drawable/ic_warning">
|
|
|
|
</TextView>
|