Mobile-SDK-Android-V5
Mobile-SDK-Android-V5 copied to clipboard
Use bit flags for SystemStatusList widget ids
Since SystemStatusSmartListModel uses bitwise-and
to manage item exclusion, we should declare uxsdk_excludeItem and SystemStatusListItem as bit flags.
https://github.com/dji-sdk/Mobile-SDK-Android-V5/blob/8f2ed619ae0789aa7cec1fd166db0b77f5106d9a/SampleCode-V5/android-sdk-v5-uxsdk/src/main/java/dji/v5/ux/core/panel/systemstatus/SystemStatusSmartListModel.kt#L251-L253
Please accept this pull request, I applied it locally and works fine. The current strategy for item exclusion is simply broken.