//package org.acra.util;
import java.io.File;
import android.content.Context;
import android.content.res.Configuration;
import android.os.Environment;
import android.os.StatFs;
import android.telephony.TelephonyManager;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.Display;
import android.view.WindowManager;
/**
* Responsible for providing base utilities used when constructing the report.
*
* @author William Ferguson
* @since 4.3.0
*/
public final class ReportUtils {
public static String getApplicationFilePath(Context context) {
final File filesDir = context.getFilesDir();
if (filesDir != null) {
return filesDir.getAbsolutePath();
}
// Log.w(ACRA.LOG_TAG, "Couldn't retrieve ApplicationFilePath for : " + context.getPackageName());
return "Couldn't retrieve ApplicationFilePath";
}
}