Repository navigation
Devinfo - #12141
Merged
Merged
Devinfo#12141
Conversation
|
Small change? |
Nir-Az
reviewed
Aug 29, 2023
| #include "device_watcher.h" | ||
| #include <vector> | ||
| #include <sstream> | ||
| #include <jni.h> |
Collaborator
There was a problem hiding this comment.
Why was this removed?
No impact on android? (we do not build it in our CI)
Contributor
Author
There was a problem hiding this comment.
We build it in GHA, which is where I saw things fail until I fixed these include.
I don't remember why jni.h is needed or why I removed, but it compiled without it so there doesn't seem to be a dependency in this .cpp...
Nir-Az
reviewed
Aug 29, 2023
| @@ -0,0 +1,135 @@ | |||
| // License: Apache 2.0. See LICENSE file in root directory. | |||
| // Copyright(c) 2015 Intel Corporation. All Rights Reserved. | |||
Collaborator
There was a problem hiding this comment.
Consider updating to 2023, it's a new file
Contributor
Author
There was a problem hiding this comment.
Fixed here in one other spot
Nir-Az
approved these changes
Aug 29, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The whole point of this is to separate out the platform-specific (
backend_device_group) from the basedevice_interfacedefined in the core.device_infoplayed a minor role before, but is now much more central to adevice.To that end, I also split
backend.hinto multiple smaller files in aplatform/folder.Lots of files, but most changes are in includes.
Tracked on [LRS-885]