blob: 55d3fcc80b1b69e70637e5462b973d0f64328c8a [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.util;
import android.content.Context;
public final class PathUtils {
public static String getDataDirectory(Context applicationContext) {
return applicationContext.getDir("flutter", Context.MODE_PRIVATE).getPath();
}
public static String getCacheDirectory(Context applicationContext) {
return applicationContext.getCacheDir().getPath();
}
}