AAOS VHAL props: missing min values

Bug #2060023 reported by Michele Lo Russo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Anbox Cloud
Fix Committed
Medium
Alexis Janon

Bug Description

When getting data about VHAL properties with the getAllVhalPropConfigs() method of the streaming SDK, some of them report their max value only, instead of both min and max. One example: DISPLAY_BRIGHTNESS has a max of 100 but no min specified.

This is probably caused by a min value of "0" being mistakenly discarded in an if condition.

Steps to reproduce:

1. Stream an AAOS session.
2. Get a list of VHAL prop configs using the getAllVhalPropConfigs() method of the streaming SDK.
2. Expand the area_configs, and see that some of these do not report both a min and a max value (see attached screenshot for an example).

Tags: aaos vhal
Revision history for this message
Michele Lo Russo (lorumic) wrote :
Simon Fels (morphis)
Changed in anbox-cloud:
assignee: nobody → Alexis Janon (ajanon)
Alexis Janon (ajanon)
Changed in anbox-cloud:
status: New → In Progress
importance: Undecided → Medium
Alexis Janon (ajanon)
Changed in anbox-cloud:
milestone: none → 1.22.0
Simon Fels (morphis)
Changed in anbox-cloud:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.