mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
Cleanup formatting.
This commit is contained in:
parent
0b6a39bc6f
commit
e1b3a8cdce
@ -77,9 +77,6 @@ import com.phonegap.api.PluginManager;
|
|||||||
* // Initialize activity
|
* // Initialize activity
|
||||||
* super.init();
|
* super.init();
|
||||||
*
|
*
|
||||||
* // Add your plugins here or in JavaScript
|
|
||||||
* super.addService("MyService", "com.phonegap.examples.MyService");
|
|
||||||
*
|
|
||||||
* // Clear cache if you want
|
* // Clear cache if you want
|
||||||
* super.appView.clearCache(true);
|
* super.appView.clearCache(true);
|
||||||
*
|
*
|
||||||
@ -91,7 +88,7 @@ import com.phonegap.api.PluginManager;
|
|||||||
*
|
*
|
||||||
* Properties: The application can be configured using the following properties:
|
* Properties: The application can be configured using the following properties:
|
||||||
*
|
*
|
||||||
* // Display a native loading dialog. Format for value = "Title,Message".
|
* // Display a native loading dialog when loading app. Format for value = "Title,Message".
|
||||||
* // (String - default=null)
|
* // (String - default=null)
|
||||||
* super.setStringProperty("loadingDialog", "Wait,Loading Demo...");
|
* super.setStringProperty("loadingDialog", "Wait,Loading Demo...");
|
||||||
*
|
*
|
||||||
@ -688,7 +685,6 @@ public class DroidGap extends PhonegapActivity {
|
|||||||
|
|
||||||
// Forward to plugins
|
// Forward to plugins
|
||||||
this.pluginManager.onDestroy();
|
this.pluginManager.onDestroy();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -712,7 +708,6 @@ public class DroidGap extends PhonegapActivity {
|
|||||||
this.callbackServer.sendJavascript(statement);
|
this.callbackServer.sendJavascript(statement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display a new browser with the specified URL.
|
* Display a new browser with the specified URL.
|
||||||
*
|
*
|
||||||
@ -1041,7 +1036,6 @@ public class DroidGap extends PhonegapActivity {
|
|||||||
* @param callback
|
* @param callback
|
||||||
*/
|
*/
|
||||||
public void onGeolocationPermissionsShowPrompt(String origin, Callback callback) {
|
public void onGeolocationPermissionsShowPrompt(String origin, Callback callback) {
|
||||||
// TODO Auto-generated method stub
|
|
||||||
super.onGeolocationPermissionsShowPrompt(origin, callback);
|
super.onGeolocationPermissionsShowPrompt(origin, callback);
|
||||||
callback.invoke(origin, true, false);
|
callback.invoke(origin, true, false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user