Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: shell/android/apk/src/org/chromium/mojo/shell/FileHelper.java

Issue 1133283002: Android handler: Fix name collision. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix app tests. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « shell/android/apk/src/org/chromium/mojo/shell/AndroidHandler.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/android/apk/src/org/chromium/mojo/shell/FileHelper.java
diff --git a/shell/android/apk/src/org/chromium/mojo/shell/FileHelper.java b/shell/android/apk/src/org/chromium/mojo/shell/FileHelper.java
index c455251559f35f3d5cece6872935792b9878cedb..b33dd64ca5343673d39407044d88975b5e831fce 100644
--- a/shell/android/apk/src/org/chromium/mojo/shell/FileHelper.java
+++ b/shell/android/apk/src/org/chromium/mojo/shell/FileHelper.java
@@ -41,7 +41,7 @@ class FileHelper {
* resources match the current APK. Otherwise returns a String that represents the filename of a
* timestamp to create.
*/
- private static String checkAssetTimestamp(Context context, File outputDir) {
+ public static String checkAssetTimestamp(Context context, File outputDir) {
PackageManager pm = context.getPackageManager();
PackageInfo pi = null;
@@ -152,7 +152,7 @@ class FileHelper {
/**
* Deletes a file or directory. Directory will be deleted even if not empty.
*/
- static void deleteRecursively(File file) {
+ public static void deleteRecursively(File file) {
if (file.isDirectory()) {
for (File child : file.listFiles()) {
deleteRecursively(child);
« no previous file with comments | « shell/android/apk/src/org/chromium/mojo/shell/AndroidHandler.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698