1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-11 13:53:29 +00:00

Fixed clipboard not clearing on Android 10 (#851)

This commit is contained in:
Matt Portune
2020-04-23 10:01:41 -04:00
committed by GitHub
parent 0f35885d1c
commit 9a403ba0ed
5 changed files with 2 additions and 31 deletions

View File

@@ -386,7 +386,6 @@ namespace Bit.Droid
{
return;
}
StaticStore.LastClipboardValue = data.Item1;
var triggerMs = Java.Lang.JavaSystem.CurrentTimeMillis() + clearMs.Value;
var alarmManager = GetSystemService(AlarmService) as AlarmManager;
alarmManager.Set(AlarmType.Rtc, triggerMs, _clearClipboardPendingIntent);