How to enable Dual screen asynchronous display On IMX8MP Android14。

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to enable Dual screen asynchronous display On IMX8MP Android14。

757 Views
liangyan
Contributor III

Hi NXP

   I want to enable Dual screen asynchronous display On IMX8MP Android14。

     LVDS as the main display, MIPI DSI as the secondary display.

I get two displays:

liangyan_0-1739613888918.png

but i get displays.lengh is 0

Display[] displays = mDisplayManager.getDisplays(DisplayManager.DISPLAY_CATEGORY_PRESENTATION);

How should I do , I use Android 14 BSP 2.2 version, Please help me Thank you!

Labels (1)
0 Kudos
Reply
3 Replies

728 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Make sure you have added the permission in manifest, then try to use  DISPLAY_CATEGORY_ALL

Best Regards,
Zhiming

0 Kudos
Reply

723 Views
liangyan
Contributor III

Hi 

I have add DISPLAY_CATEGORY_ALL in AndroidManifest.xml

liangyan_0-1739936928010.png

bui it does not work and not found PRESENTATION Display

I can find two display devices on my board

liangyan_1-1739937026254.png

 

0 Kudos
Reply

675 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Can you try to use getDisplays() here to get all logical displays?

https://developer.android.com/reference/android/hardware/display/DisplayManager

Best Regards,
Zhiming

0 Kudos
Reply