Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DisplayCapabilities ScreenParams null in SystemCapabilityManager #1824

Closed
JulianKast opened this issue Aug 9, 2022 · 1 comment · Fixed by #1825
Closed

DisplayCapabilities ScreenParams null in SystemCapabilityManager #1824

JulianKast opened this issue Aug 9, 2022 · 1 comment · Fixed by #1825
Labels
bug A defect in the library

Comments

@JulianKast
Copy link
Contributor

JulianKast commented Aug 9, 2022

Bug Summary

When accessing displayCapabilities via the systemCapabilityManager screenParams and mediaClockFormats are empty. In The RAIR, the screenParams are not nil and mediaClockFormats are not empty. windowID is also nil from defaultMainWindowCapability

screenParams should not be null in the systemCapabilityManager.
mediaClockFormats should not be empty in the systemCapabilityManager.
windowID should not be null in systemCapabilityManager.

Reproduction Steps

  1. Connect app to manticore
  2. Get DefaultMainWindowCapability and DisplayCapabilities via the SystemCapabilityManager
  3. Check ScreenParams, MediaClockFormat, and windowID.
        WindowCapability windowCapability = sdlManager.getSystemCapabilityManager().getDefaultMainWindowCapability();
        DisplayCapabilities displayCapabilities = (DisplayCapabilities) sdlManager.getSystemCapabilityManager().getCapability(SystemCapabilityType.DISPLAY, null, false);
    
        ScreenParams screenParams = displayCapabilities.getScreenParams();
        List<MediaClockFormat> mediaClockFormat = displayCapabilities.getMediaClockFormats();
        int windowID = windowCapability.getWindowID();

Expected Behavior:
ScreenParams should not be null, MediaClockFormats should not be empty and windowID should not be null.
Observed Behavior:
ScreenParams are null, MediaClockFormats are empty and windowID is null.

Which projects have you seen this bug on?

No response

Android Version(s)

n/a

Android Device(s)

n/a

sdl_java_suite Version

5.5.0

Testing Environment(s)

Manticore

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect in the library
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant