Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8c16935 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #28931042: wtf in system server

Broadcast needs to have a valid action.  We'll just pick
a generic one, since the receiver here doesn't care.

Change-Id: Ifff87626d11dd9fafb4e68819e8c8cecdf7fe1aa
parent 5ee420c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5421,7 +5421,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
        // If the service process is killed, then ask it to clean up after itself
        final ComponentName errorComponent = new ComponentName(SYSUI_PACKAGE,
                SYSUI_SCREENSHOT_ERROR_RECEIVER);
        Intent errorIntent = new Intent();
        Intent errorIntent = new Intent(Intent.ACTION_USER_PRESENT);
        errorIntent.setComponent(errorComponent);
        errorIntent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT |
                Intent.FLAG_RECEIVER_FOREGROUND);