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

Commit 9895d680 authored by Mangesh Ghiware's avatar Mangesh Ghiware
Browse files

Build properties now updated to SDK level 19.

Check only for numeric version code.

Bug: 4225598

Change-Id: I632b1c2ceb310fc35804b6e44a43c6c4ce1562b1
parent 4d385a0a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -97,8 +97,7 @@ public class Wallpaper extends Activity {
            }
            case STATE_PHOTO_PICKED: {
                Intent cropAndSetWallpaperIntent;
                if ("KeyLimePie".equals(Build.VERSION.CODENAME)
                        || Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
                if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
                    WallpaperManager wpm = WallpaperManager.getInstance(getApplicationContext());
                    cropAndSetWallpaperIntent = wpm.getCropAndSetWallpaperIntent(mPickedItem);
                } else {