Skip to content

Commit

Permalink
add package to pendingIntent in lockScreenManager
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianKast committed Nov 16, 2023
1 parent f5f33cf commit 9b0eede
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,9 @@ private void closeLockScreenActivity() {
if (context.get() != null) {
LockScreenStatus status = getLockScreenStatus();
if (status == LockScreenStatus.OFF || (status == LockScreenStatus.OPTIONAL && displayMode != LockScreenConfig.DISPLAY_MODE_OPTIONAL_OR_REQUIRED)) {
context.get().sendBroadcast(new Intent(SDLLockScreenActivity.CLOSE_LOCK_SCREEN_ACTION));
Intent intent = new Intent(SDLLockScreenActivity.CLOSE_LOCK_SCREEN_ACTION)
.setPackage(context.get().getPackageName());
context.get().sendBroadcast(intent);
}
}
lastIntentUsed = null;
Expand Down

0 comments on commit 9b0eede

Please sign in to comment.