Skip to content

Commit

Permalink
#155: android10. remove sqLite function max()
Browse files Browse the repository at this point in the history
  • Loading branch information
k3b committed Nov 21, 2019
1 parent 26355d1 commit c889d58
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ public class FotoSql extends FotoSqlBase {

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

0 comments on commit c889d58

Please sign in to comment.