mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
Weird comment conflict
This commit is contained in:
commit
9ebdca66d9
@ -1094,6 +1094,12 @@ public class DroidGap extends Activity implements CordovaInterface {
|
|||||||
|
|
||||||
// Create and show the dialog
|
// Create and show the dialog
|
||||||
splashDialog = new Dialog(this, android.R.style.Theme_Translucent_NoTitleBar);
|
splashDialog = new Dialog(this, android.R.style.Theme_Translucent_NoTitleBar);
|
||||||
|
// check to see if the splash screen should be full screen
|
||||||
|
if ((getWindow().getAttributes().flags & WindowManager.LayoutParams.FLAG_FULLSCREEN)
|
||||||
|
== WindowManager.LayoutParams.FLAG_FULLSCREEN) {
|
||||||
|
splashDialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
|
||||||
|
WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
||||||
|
}
|
||||||
splashDialog.setContentView(root);
|
splashDialog.setContentView(root);
|
||||||
splashDialog.setCancelable(false);
|
splashDialog.setCancelable(false);
|
||||||
splashDialog.show();
|
splashDialog.show();
|
||||||
|
@ -76,5 +76,4 @@ public interface CordovaInterface {
|
|||||||
* @return Object or null
|
* @return Object or null
|
||||||
*/
|
*/
|
||||||
public Object onMessage(String id, Object data);
|
public Object onMessage(String id, Object data);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user