Mobile-SDK-Android-V5 icon indicating copy to clipboard operation
Mobile-SDK-Android-V5 copied to clipboard

Use bit flags for SystemStatusList widget ids

Open leohoo opened this issue 1 year ago • 1 comments

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

leohoo avatar Oct 24 '23 07:10 leohoo

Please accept this pull request, I applied it locally and works fine. The current strategy for item exclusion is simply broken.

Padreco-lbr avatar Nov 09 '23 19:11 Padreco-lbr