mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 23:42:53 +08:00
Fix for merge problem. Tests passing again
This commit is contained in:
parent
4eec4c0801
commit
fbcaf15353
@ -272,7 +272,7 @@ public class DroidGap extends Activity {
|
|||||||
appView.addJavascriptInterface(mKey, "BackButton");
|
appView.addJavascriptInterface(mKey, "BackButton");
|
||||||
appView.addJavascriptInterface(audio, "GapAudio");
|
appView.addJavascriptInterface(audio, "GapAudio");
|
||||||
appView.addJavascriptInterface(callbackServer, "CallbackServer");
|
appView.addJavascriptInterface(callbackServer, "CallbackServer");
|
||||||
//appView.addJavascriptInterface(new SplashScreen(this), "SplashScreen");
|
appView.addJavascriptInterface(new SplashScreen(this), "SplashScreen");
|
||||||
|
|
||||||
if (android.os.Build.VERSION.RELEASE.startsWith("1."))
|
if (android.os.Build.VERSION.RELEASE.startsWith("1."))
|
||||||
{
|
{
|
||||||
|
@ -52,7 +52,7 @@ class Build
|
|||||||
phonegapjs << "\n\n"
|
phonegapjs << "\n\n"
|
||||||
end
|
end
|
||||||
|
|
||||||
File.open(File.join(@path, "assets", "www", "js", "phonegap.js"), 'w') {|f| f.write(phonegapjs) }
|
File.open(File.join(@path, "assets", "www", "phonegap.js"), 'w') {|f| f.write(phonegapjs) }
|
||||||
end
|
end
|
||||||
#
|
#
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user