Skip to content

DisplayCapabilities ScreenParams null in SystemCapabilityManager #1824

@JulianKast

Description

@JulianKast

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA defect in the library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions