mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix read only #792
This commit is contained in:
@@ -3,10 +3,10 @@ KeePassDX(2.9.2)
|
||||
* Prevent manual creation of existing field name #718
|
||||
* Harmonization of field names #789
|
||||
* Different channels for each type of notification #688
|
||||
* Fix search in OTP #780
|
||||
* Fix empty OTP field after selection #781
|
||||
* Fix OTP #780 #781
|
||||
* Fix same save shared info #783
|
||||
* Fix switch back to previous keyboard #782
|
||||
* Fix read only #792
|
||||
* Better UI #719
|
||||
|
||||
KeePassDX(2.9.1)
|
||||
|
||||
@@ -23,11 +23,11 @@ import android.app.PendingIntent
|
||||
import android.content.Intent
|
||||
import android.net.Uri
|
||||
import android.os.Binder
|
||||
import android.os.Build
|
||||
import android.os.Bundle
|
||||
import android.os.IBinder
|
||||
import com.kunzisoft.keepass.R
|
||||
import com.kunzisoft.keepass.activities.GroupActivity
|
||||
import com.kunzisoft.keepass.activities.helpers.ReadOnlyHelper
|
||||
import com.kunzisoft.keepass.app.database.CipherDatabaseEntity
|
||||
import com.kunzisoft.keepass.database.action.*
|
||||
import com.kunzisoft.keepass.database.action.history.DeleteEntryHistoryDatabaseRunnable
|
||||
@@ -282,14 +282,12 @@ open class DatabaseTaskNotificationService : LockNotificationService(), Progress
|
||||
// Database is normally open
|
||||
if (mDatabase.loaded) {
|
||||
// Build Intents for notification action
|
||||
var pendingDatabaseFlag = 0
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
||||
pendingDatabaseFlag = PendingIntent.FLAG_IMMUTABLE
|
||||
}
|
||||
val pendingDatabaseIntent = PendingIntent.getActivity(this,
|
||||
0,
|
||||
Intent(this, GroupActivity::class.java),
|
||||
pendingDatabaseFlag)
|
||||
Intent(this, GroupActivity::class.java).apply {
|
||||
ReadOnlyHelper.putReadOnlyInIntent(this, mDatabase.isReadOnly)
|
||||
},
|
||||
PendingIntent.FLAG_UPDATE_CURRENT)
|
||||
val deleteIntent = Intent(this, DatabaseTaskNotificationService::class.java).apply {
|
||||
action = ACTION_DATABASE_CLOSE
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
* Prevent manual creation of existing field name #718
|
||||
* Harmonization of field names #789
|
||||
* Different channels for each type of notification #688
|
||||
* Fix search in OTP #780
|
||||
* Fix empty OTP field after selection #781
|
||||
* Fix OTP #780 #781
|
||||
* Fix same save shared info #783
|
||||
* Fix switch back to previous keyboard #782
|
||||
* Fix read only #792
|
||||
* Better UI #719
|
||||
@@ -2,8 +2,8 @@
|
||||
* Préviens la création manuelle d'un nom de champ existant #718
|
||||
* Harmonisation des noms de champ #789
|
||||
* Différents canaux pour chaque type de notification #688
|
||||
* Correction de la recherche de l'OTP #780
|
||||
* Correction de champ OTP vide après sélection #781
|
||||
* Correction OTP #780 #781
|
||||
* Correction de la sauvegarde d'une même info partagée #783
|
||||
* Correction du changement vers le clavier précédent #782
|
||||
* Correction de lecture seule #792
|
||||
* Meilleure UI #719
|
||||
Reference in New Issue
Block a user