Fix problems dispatching media button events on headless devices
Signed-off-by: Mike Lockwood <lockwood@android.com> Conflicts: policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
This commit is contained in:
committed by
Mike Lockwood
parent
3a74bd36f8
commit
d747dc8179
@@ -4893,7 +4893,7 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
|
||||
public void performBootTimeout() {
|
||||
synchronized(mWindowMap) {
|
||||
if (mDisplayEnabled) {
|
||||
if (mDisplayEnabled || mHeadless) {
|
||||
return;
|
||||
}
|
||||
Slog.w(TAG, "***** BOOT TIMEOUT: forcing display enabled");
|
||||
|
||||
Reference in New Issue
Block a user