am eef45610: am 435edc40: fix wrong flag check for virtual display
* commit 'eef45610fca1078167b68f722abddb7435f05913': fix wrong flag check for virtual display
This commit is contained in:
@@ -265,7 +265,7 @@ final class VirtualDisplayAdapter extends DisplayAdapter {
|
||||
mInfo.flags |= DisplayDeviceInfo.FLAG_PRIVATE
|
||||
| DisplayDeviceInfo.FLAG_NEVER_BLANK;
|
||||
}
|
||||
if ((mInfo.flags & DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR) != 0) {
|
||||
if ((mFlags & DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR) != 0) {
|
||||
mInfo.flags &= ~DisplayDeviceInfo.FLAG_NEVER_BLANK;
|
||||
} else {
|
||||
mInfo.flags |= DisplayDeviceInfo.FLAG_OWN_CONTENT_ONLY;
|
||||
|
||||
Reference in New Issue
Block a user