Skip to content

Remove confidence stream from android settings - #8261

Merged
maloel merged 2 commits into
realsenseai:developmentfrom
Nir-Az:android_app_crash_on_multistream
Jan 31, 2021
Merged

Remove confidence stream from android settings#8261
maloel merged 2 commits into
realsenseai:developmentfrom
Nir-Az:android_app_crash_on_multistream

Conversation

@Nir-Az

@Nir-Az Nir-Az commented Jan 28, 2021

Copy link
Copy Markdown
Collaborator

Tracked on [RS5-8989]


// Entering Settings when all stream on (including confidence) result in an application crash.
// as a workaround we remove confidence profile as it is not supported on display anyway.
// See [RS5-8989]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove jira ticket reference from comment in code

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


private void RemoveUnsupportedProfiles(List<StreamProfileSelector> streamProfiles){

// Entering Settings when all stream on (including confidence) result in an application crash.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is not when entering the Settings Activity, when when we leave it and go back to Preview Activity.
I would have changed the comment as:
// Confidence steam format is RAW8, and it is not supported for display.
// Its removal is necessary until format RAW8 display is enabled.
Feel free to use this or rephrase it by yourself.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd move this comment to right before line 356, too

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or even 362

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did it,

but when someone will read this comment 1 year from now and say hey, I can add support for raw8 and remove this patch, he will not know about the problem, he don't have a ticket to read, and no information on the comment.
And he will 99% won't test the flow that caused the issue.

Don't you guys think it's necessary?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the ticket number is harmless -- but you're referring to the other comment, right?

@maloel
maloel merged commit b539979 into realsenseai:development Jan 31, 2021
@Nir-Az
Nir-Az deleted the android_app_crash_on_multistream branch July 27, 2021 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants