Skip to content

Commit

Permalink
Fix folder dir
Browse files Browse the repository at this point in the history
  • Loading branch information
j8seangel committed Jun 2, 2017
1 parent 4e9fd7a commit 016d8a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public Tile getTile(int x, int y, int zoom) {
BitmapFactory.Options options = new BitmapFactory.Options();
options.inPreferredConfig = Bitmap.Config.ARGB_8888;
File dir = getParentContext().getFilesDir();
File myFile = new File(dir + "/tiles", areaId + "/" + zoomCord + "x" + xCord + "x" + yCord + ".png");
File myFile = new File(dir + "/tiles", this.areaId + "/" + this.alertType + "/"+ zoomCord + "x" + xCord + "x" + yCord + ".png");

try {
image = BitmapFactory.decodeFile(myFile.getAbsolutePath(), options);
Expand Down

0 comments on commit 016d8a7

Please sign in to comment.