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

修复在Android Q preview beta3上的崩溃问题 #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mzhua
Copy link

@mzhua mzhua commented May 15, 2019

在最新的Android Q preview beta3 SELECT bucket_id, bucket_display_name FROM images WHERE ((is_pending=0) AND (is_trashed=0)) AND ((0==0) GROUP BY(bucket_id)) ORDER BY date_modified desc 这一句会报语法错误

@mzhua mzhua changed the title 修复在Android Q preview beta3上的奔溃问题 修复在Android Q preview beta3上的崩溃问题 May 15, 2019
@fgnna
Copy link

fgnna commented Oct 8, 2019

什么时候发包,这个影响很大,已经有很多用户反馈了

@mzhua mzhua closed this Mar 21, 2020
@mzhua mzhua reopened this Mar 21, 2020
@@ -69,7 +68,7 @@ private void buildAlbumInfo(ContentResolver cr) {
String[] distinctBucketColumns = new String[]{Media.BUCKET_ID, Media.BUCKET_DISPLAY_NAME};
Cursor bucketCursor = null;
try {
bucketCursor = cr.query(Media.EXTERNAL_CONTENT_URI, distinctBucketColumns, "0==0)" + " GROUP BY(" + Media.BUCKET_ID, null,
bucketCursor = cr.query(Media.EXTERNAL_CONTENT_URI, distinctBucketColumns, "0==0)" + " GROUP BY (" + Media.BUCKET_ID, null,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing changed!!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a space after "GROUP BY" 。。。。。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants