-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[android] Fixed getting product id and product name #20208
[android] Fixed getting product id and product name #20208
Conversation
Note it overlaps with #20202 to some extent. |
In the project-chip#19514 there was a mistake done, as Android methods were meant to only be moved to other module not change their implementation. Restored the previous implementation/
262567f
to
050ad35
Compare
@kkasperczyk-no HI Kamil,I had debug the tv-app found that this change was not worked, it didn't reach |
PR #20208: Size comparison from 6c6dca3 to 050ad35 Increases (3 builds for cc13x2_26x2, telink)
Decreases (3 builds for cc13x2_26x2, cyw30739)
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
Could you elaborate on what didn't reach means? Does it mean this file was not compiled? Are you using Android platform? I don't understand why it would not be compiled, as it is directly added to Android platform files without any condition: https://github.com/project-chip/connectedhomeip/blob/master/src/platform/android/BUILD.gn#L47 What can I do to reproduce this problem? |
sorry for my poor English, I mean that I modified the |
I see, so that means the I don't know Android platform well and I don't have option to debug it on my desk, but I just moved the method to other place and didn't change the implementation, so I'm not sure whether it could break something. Do you know whether it was working anytime before? I can see the other platforms like Darwin and Linux do the StoreProductId(): https://github.com/project-chip/connectedhomeip/blob/master/src/platform/Darwin/ConfigurationManagerImpl.cpp#L167, while I can't find it for Android, so maybe this value is just not present in the storage. |
Anybody familiar with Android to help? @andy31415 or @austinh0? |
@kkasperczyk-no yes,it was working fine before,I don't have much experience in C++... I added some logs at |
Fast tracking platform changes. |
Problem
In the #19514 there was a mistake done, as Android methods were meant to only be moved to other module not change
their implementation.
Change overview
Restored the previous implementation/