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

Skip to content
Commit 14e01b8f authored by Craig G's avatar Craig G Committed by Michael Bestas
Browse files

Eleven: Fix album id column

The derived media databases use multiple explicit names for the columns that
contain unique ids from their parent table, not a single _id column.  This
change explicitly selects the album unique id when loading an album.

Caused by: java.lang.IllegalArgumentException: Invalid column _id
	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:170)
	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:140)
	at android.content.ContentProviderProxy.query(ContentProviderNative.java:423)
	at android.content.ContentResolver.query(ContentResolver.java:944)
	at android.content.ContentResolver.query(ContentResolver.java:880)
	at android.content.ContentResolver.query(ContentResolver.java:836)
	at org.lineageos.eleven.loaders.AlbumLoader.makeAlbumCursor(AlbumLoader.java:150)
	at org.lineageos.eleven.loaders.AlbumLoader.loadInBackground(AlbumLoader.java:76)
	at org.lineageos.eleven.loaders.AlbumLoader.loadInBackground(AlbumLoader.java:41)
	...

Change-Id: Id2bffacb97413228a4f8871132206503900a2a83
parent 05e0b9de
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