mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-22 09:12:17 -05:00
fixed bug: lock database from keyboard was not possible because of wrong action string (after recent modification)
This commit is contained in:
parent
7c36e29a12
commit
0b87c6f839
@ -1315,7 +1315,9 @@ public class KP2AKeyboard extends InputMethodService
|
|||||||
|
|
||||||
private void onKp2aLockKeyPressed() {
|
private void onKp2aLockKeyPressed() {
|
||||||
|
|
||||||
sendBroadcast(new Intent("keepass2android.lock_database"));
|
String action = getPackageName()+".lock_database";
|
||||||
|
android.util.Log.i("KP2A", "sending broadcast with action "+action);
|
||||||
|
sendBroadcast(new Intent(action));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,15 +27,15 @@ namespace keepass2android
|
|||||||
|
|
||||||
|
|
||||||
/// <summary>Broadcast this intent to lock the database (with quick unlock if enabled)</summary>
|
/// <summary>Broadcast this intent to lock the database (with quick unlock if enabled)</summary>
|
||||||
public const String LockDatabase = "keepass2android."+AppNames.PackagePart+"lock_database";
|
public const String LockDatabase = "keepass2android."+AppNames.PackagePart+".lock_database";
|
||||||
/// <summary>Broadcast this intent to close the database (no quick unlock, full close)</summary>
|
/// <summary>Broadcast this intent to close the database (no quick unlock, full close)</summary>
|
||||||
public const String CloseDatabase = "keepass2android." + AppNames.PackagePart + "close_database";
|
public const String CloseDatabase = "keepass2android." + AppNames.PackagePart + ".close_database";
|
||||||
|
|
||||||
/// <summary>This intent will be broadcast once the database has been locked. Sensitive information displayed should be hidden and unloaded.</summary>
|
/// <summary>This intent will be broadcast once the database has been locked. Sensitive information displayed should be hidden and unloaded.</summary>
|
||||||
public const String DatabaseLocked = "keepass2android." + AppNames.PackagePart + "database_locked";
|
public const String DatabaseLocked = "keepass2android." + AppNames.PackagePart + ".database_locked";
|
||||||
|
|
||||||
/// <summary>This intent will be broadcast once the keyboard data has been cleared</summary>
|
/// <summary>This intent will be broadcast once the keyboard data has been cleared</summary>
|
||||||
public const String KeyboardCleared = "keepass2android." + AppNames.PackagePart + "keyboard_cleared";
|
public const String KeyboardCleared = "keepass2android." + AppNames.PackagePart + ".keyboard_cleared";
|
||||||
|
|
||||||
public const String CopyUsername = "keepass2android.copy_username";
|
public const String CopyUsername = "keepass2android.copy_username";
|
||||||
public const String CopyPassword = "keepass2android.copy_password";
|
public const String CopyPassword = "keepass2android.copy_password";
|
||||||
|
Loading…
Reference in New Issue
Block a user