cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [24/40] js commit: CB-2595: Prompt mode emits confusing log message When Android switches to PROMPT mode, the log message causes confusion for users, especially for those having to support Gingerbread. It is tough though since it can be a legitimate erro
Date Wed, 20 Mar 2013 15:49:08 GMT
CB-2595: Prompt mode emits confusing log message
When Android switches to PROMPT mode, the log message causes confusion
for users, especially for those having to support Gingerbread. It is tough
though since it can be a legitimate error when restoring state.


Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/0b88895e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/0b88895e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/0b88895e

Branch: refs/heads/cb2227
Commit: 0b88895ed43e9a04b68b91f2c4c0a6a72d3bf2a4
Parents: 22aa62f
Author: mbillau <mike.billau@gmail.com>
Authored: Thu Feb 28 15:28:23 2013 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Wed Mar 13 11:20:33 2013 -0400

----------------------------------------------------------------------
 lib/android/exec.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/0b88895e/lib/android/exec.js
----------------------------------------------------------------------
diff --git a/lib/android/exec.js b/lib/android/exec.js
index 7a101c6..90ea186 100644
--- a/lib/android/exec.js
+++ b/lib/android/exec.js
@@ -142,7 +142,7 @@ androidExec.nativeToJsModes = nativeToJsModes;
 
 androidExec.setJsToNativeBridgeMode = function(mode) {
     if (mode == jsToNativeModes.JS_OBJECT && !window._cordovaNative) {
-        console.log('Falling back on PROMPT mode since _cordovaNative is missing.');
+        console.log('Falling back on PROMPT mode since _cordovaNative is missing. Expected
for Android 3.2 and lower only.');
         mode = jsToNativeModes.PROMPT;
     }
     nativeApiProvider.setPreferPrompt(mode == jsToNativeModes.PROMPT);


Mime
View raw message