mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Add lock button in database notification
This commit is contained in:
@@ -5,6 +5,7 @@ KeePassDX(3.0.3)
|
||||
* Update Autofill compatibility list #725 #1154
|
||||
* Improve fingerprint usage #1137 #1145
|
||||
* Change backup configuration #1144
|
||||
* Add lock button in database notification
|
||||
|
||||
KeePassDX(3.0.2)
|
||||
* Samsung DeX mode #1114 #245 (Thx @chenxiaolong)
|
||||
|
||||
@@ -110,6 +110,7 @@ dependencies {
|
||||
implementation 'androidx.viewpager2:viewpager2:1.1.0-beta01'
|
||||
implementation 'androidx.documentfile:documentfile:1.0.1'
|
||||
implementation 'androidx.biometric:biometric:1.1.0'
|
||||
implementation 'androidx.media:media:1.4.3'
|
||||
// Lifecycle - LiveData - ViewModel - Coroutines
|
||||
implementation "androidx.core:core-ktx:$android_core_version"
|
||||
implementation 'androidx.fragment:fragment-ktx:1.3.6'
|
||||
|
||||
@@ -24,6 +24,7 @@ import android.content.Intent
|
||||
import android.net.Uri
|
||||
import android.os.*
|
||||
import android.util.Log
|
||||
import androidx.media.app.NotificationCompat
|
||||
import com.kunzisoft.keepass.R
|
||||
import com.kunzisoft.keepass.activities.GroupActivity
|
||||
import com.kunzisoft.keepass.app.database.CipherDatabaseEntity
|
||||
@@ -423,6 +424,9 @@ open class DatabaseTaskNotificationService : LockNotificationService(), Progress
|
||||
R.drawable.ic_lock_white_24dp, getString(R.string.lock),
|
||||
pendingDeleteIntent
|
||||
)
|
||||
setStyle(NotificationCompat.MediaStyle()
|
||||
.setShowActionsInCompactView(0)
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,3 +4,4 @@
|
||||
* Update Autofill compatibility list #725 #1154
|
||||
* Improve fingerprint usage #1137 #1145
|
||||
* Change backup configuration #1144
|
||||
* Add lock button in database notification
|
||||
@@ -4,3 +4,4 @@
|
||||
* Mise à jour de la liste de compatibilité pour le remplissage automatique #725 #1154
|
||||
* Amélioration de l'usage de l'empreinte digitale #1137 #1145
|
||||
* Changement de la configuration du backup #1144
|
||||
* Ajout du bouton de verrouillage dans la notification de base de données
|
||||
Reference in New Issue
Block a user