-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Android q #665
Android q #665
Conversation
Merge to upstream master
1) "COUNT(*) AS " + COLUMN_COUNT is not working in Android Q anymore (Not sure why) 2) There are no official document specific how GROUP BY should work in CursorLoader. The unofficial workaround seem no longer work in Android Q - https://stackoverflow.com/a/33367564/72437 Due to the above 2 limitations, we need to perform manual calculation on "count per directory".
… self generated Uri. However, I'm not sure whether there might be conversion failed (Uri.toString and Uri.parse) in certain edge cases.
E/AndroidRuntime: FATAL EXCEPTION: ModernAsyncTask #1 Getting the Same issue on Android Q |
doesn't seem like latest code base. Providing crash log alone wouldn't help much. You need to provide more detail on how we can reproduce the problem. Only then we can resolve the problem. I had tested the following :
I tried to browse the gallery and select an 2 images. No issue found so far. Please see my screenshots. |
@yccheok |
* Support Android Q. 1) "COUNT(*) AS " + COLUMN_COUNT is not working in Android Q anymore (Not sure why) 2) There are no official document specific how GROUP BY should work in CursorLoader. The unofficial workaround seem no longer work in Android Q - https://stackoverflow.com/a/33367564/72437 Due to the above 2 limitations, we need to perform manual calculation on "count per directory". * Eliminate deprecated MediaStore.MediaColumns.DATA. We replace it with self generated Uri. However, I'm not sure whether there might be conversion failed (Uri.toString and Uri.parse) in certain edge cases. # Conflicts: # matisse/build.gradle # matisse/src/main/java/com/zhihu/matisse/internal/loader/AlbumLoader.java
@yccheok 项目里配置混淆之后,在Android Q上显示不了图片。 |
* Support Android Q. 1) "COUNT(*) AS " + COLUMN_COUNT is not working in Android Q anymore (Not sure why) 2) There are no official document specific how GROUP BY should work in CursorLoader. The unofficial workaround seem no longer work in Android Q - https://stackoverflow.com/a/33367564/72437 Due to the above 2 limitations, we need to perform manual calculation on "count per directory". * Eliminate deprecated MediaStore.MediaColumns.DATA. We replace it with self generated Uri. However, I'm not sure whether there might be conversion failed (Uri.toString and Uri.parse) in certain edge cases.
同志好!
我尝试修复 Android Q 的臭虫。因为我对 CursorLoader 并不了解。如果你能找出更好的方案,请修正。
谢谢同志们!