Skip to content

Commit c889d58

Browse files
committed
#155: android10. remove sqLite function max()
1 parent 26355d1 commit c889d58

File tree

1 file changed

+2
-1
lines changed
  • app/src/main/java/de/k3b/android/androFotoFinder/queries

1 file changed

+2
-1
lines changed

Diff for: app/src/main/java/de/k3b/android/androFotoFinder/queries/FotoSql.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ public class FotoSql extends FotoSqlBase {
135135

136136
// only works with api >= 16
137137
public static final String SQL_COL_MAX_WITH =
138-
(Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN)
138+
// #155: android10 incompatibility: check if the sqLite-max() function is the problem
139+
(false && (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN))
139140
? "max(" + MediaStore.Images.Media.WIDTH + "," +
140141
MediaStore.Images.Media.HEIGHT +")"
141142
: "1024";

0 commit comments

Comments
 (0)