Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e0123f84 authored by Michael W's avatar Michael W
Browse files

Eleven: Fix renaming playlists

* Currently it gives the following error:
  Movement of content://media/external/audio/playlists which isn't part of
  well-defined collection not allowed

* Looking at
  https://android.googlesource.com/platform/packages/providers/MediaProvider/+/refs/heads/master/src/com/android/providers/media/MediaProvider.java#5247
  shows, that an update can only happen for AUDIO_PLAYLISTS_ID
  -> Do exactly that

* Fixes parts of
  https://gitlab.com/LineageOS/issues/android/-/issues/3531
* Test
  - Before: Renaming crashes the app
  - After: Rename succeeds

Change-Id: Id3d6caab10c07da1d1612f9790e8c6ac8ecda6f5
parent 15d255b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment