move the temp dir

This commit is contained in:
ligi 2013-02-08 01:38:24 +01:00
parent 96f976f5e1
commit 3ad355ba7f

View file

@ -3,13 +3,13 @@ package org.ligi.ticketviewer;
import android.content.Context; import android.content.Context;
public class TicketDefinitions { public class TicketDefinitions {
public static String getPassesDir(Context ctx) {
return ctx.getFilesDir().getAbsolutePath()+"/passes";
}
public static String getTmpDir(Context ctx) { public static String getPassesDir(Context ctx) {
return ctx.getFilesDir().getAbsolutePath()+"/passes/tmp/"; return ctx.getFilesDir().getAbsolutePath() + "/passes";
} }
public static String getTmpDir(Context ctx) {
return ctx.getFilesDir().getAbsolutePath() + "/tmp/passes";
}
} }