Merge "Fix issue #28931042: wtf in system server" into nyc-dev am: ae02bfdd28
am: 3f2704b112
* commit '3f2704b112efd596c732965840762a3a53e5831b':
Fix issue #28931042: wtf in system server
Change-Id: I9c49dc77bcd6b6ef31342da9846cbe672f46f57d
This commit is contained in:
@@ -5421,7 +5421,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
|||||||
// If the service process is killed, then ask it to clean up after itself
|
// If the service process is killed, then ask it to clean up after itself
|
||||||
final ComponentName errorComponent = new ComponentName(SYSUI_PACKAGE,
|
final ComponentName errorComponent = new ComponentName(SYSUI_PACKAGE,
|
||||||
SYSUI_SCREENSHOT_ERROR_RECEIVER);
|
SYSUI_SCREENSHOT_ERROR_RECEIVER);
|
||||||
Intent errorIntent = new Intent();
|
Intent errorIntent = new Intent(Intent.ACTION_USER_PRESENT);
|
||||||
errorIntent.setComponent(errorComponent);
|
errorIntent.setComponent(errorComponent);
|
||||||
errorIntent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT |
|
errorIntent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT |
|
||||||
Intent.FLAG_RECEIVER_FOREGROUND);
|
Intent.FLAG_RECEIVER_FOREGROUND);
|
||||||
|
|||||||
Reference in New Issue
Block a user