We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5f33cf commit 9b0eedeCopy full SHA for 9b0eede
android/sdl_android/src/main/java/com/smartdevicelink/managers/lockscreen/LockScreenManager.java
@@ -378,7 +378,9 @@ private void closeLockScreenActivity() {
378
if (context.get() != null) {
379
LockScreenStatus status = getLockScreenStatus();
380
if (status == LockScreenStatus.OFF || (status == LockScreenStatus.OPTIONAL && displayMode != LockScreenConfig.DISPLAY_MODE_OPTIONAL_OR_REQUIRED)) {
381
- context.get().sendBroadcast(new Intent(SDLLockScreenActivity.CLOSE_LOCK_SCREEN_ACTION));
+ Intent intent = new Intent(SDLLockScreenActivity.CLOSE_LOCK_SCREEN_ACTION)
382
+ .setPackage(context.get().getPackageName());
383
+ context.get().sendBroadcast(intent);
384
}
385
386
lastIntentUsed = null;
0 commit comments