Skip to content
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

Fix StorageManager.getStorageVolumes signature - it returns a List, not an array. #22

Merged

Conversation

ksooo
Copy link
Member

@ksooo ksooo commented Apr 6, 2021

Regression introduced by ee5cc10.

Needed to fix xbmc/xbmc#19023 and xbmc/xbmc#19307

@koying would be nice if you find the time for a code review, thanks.

@koying
Copy link
Contributor

koying commented Apr 7, 2021

The getStorageVolumes fix looks good 👍

The other methods can be removed, actually, as they are not in the official API: https://developer.android.com/reference/android/os/storage/StorageManager

@ksooo
Copy link
Member Author

ksooo commented Apr 7, 2021

Thanks @koying

@ksooo ksooo merged commit 2b24db8 into xbmc:master Apr 7, 2021
@ksooo ksooo deleted the fix-storagemanager-getstoragevolumes-signature branch April 7, 2021 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants