mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-30 00:00:04 +08:00
changed FileUtils to public for testing purposes. added updategap that can updated a project with the latest phonegap jar and js
This commit is contained in:
@@ -164,9 +164,7 @@ PhoneGap.onNativeReady = new PhoneGap.Channel();
|
||||
// _nativeReady is global variable that the native side can set
|
||||
// to signify that the native code is ready. It is a global since
|
||||
// it may be called before any PhoneGap JS is ready.
|
||||
try {
|
||||
if (_nativeReady) { PhoneGap.onNativeReady.fire(); }
|
||||
} catch (e) { }
|
||||
if (typeof _nativeReady !== 'undefined') { PhoneGap.onNativeReady.fire(); }
|
||||
|
||||
/**
|
||||
* onDeviceReady is fired only after both onDOMContentLoaded and
|
||||
|
||||
@@ -11,7 +11,7 @@ public class FileUtils {
|
||||
FileReader f_in;
|
||||
FileWriter f_out;
|
||||
|
||||
FileUtils(WebView view)
|
||||
public FileUtils(WebView view)
|
||||
{
|
||||
mView = view;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user