formatting - sigh

This commit is contained in:
Kevin Griffin 2011-06-22 11:05:33 -04:00 committed by Joe Bowser
parent 53de070a41
commit 435c903baf
3 changed files with 17 additions and 14 deletions

View File

@ -637,18 +637,18 @@ public class DroidGap extends PhonegapActivity {
this.appView.pauseTimers(); this.appView.pauseTimers();
} }
} }
@Override @Override
/** /**
* Called when the activity receives a new intent * Called when the activity receives a new intent
**/ **/
protected void onNewIntent(Intent intent) { protected void onNewIntent(Intent intent) {
super.onNewIntent(intent); super.onNewIntent(intent);
//Forward to plugins //Forward to plugins
this.pluginManager.onNewIntent(intent); this.pluginManager.onNewIntent(intent);
} }
@Override @Override
/** /**
* Called when the activity will start interacting with the user. * Called when the activity will start interacting with the user.

View File

@ -77,8 +77,8 @@ public abstract class Plugin implements IPlugin {
/** /**
* Called when the activity receives a new intent. * Called when the activity receives a new intent.
*/ */
public void onNewIntent(Intent intent) { public void onNewIntent(Intent intent) {
} }
/** /**
* The final call you receive before your activity is destroyed. * The final call you receive before your activity is destroyed.

View File

@ -267,6 +267,9 @@ public final class PluginManager {
} }
} }
/**
* Called when the activity receives a new intent.
*/
public void onNewIntent(Intent intent) { public void onNewIntent(Intent intent) {
java.util.Set<Entry<String,Plugin>> s = this.plugins.entrySet(); java.util.Set<Entry<String,Plugin>> s = this.plugins.entrySet();
java.util.Iterator<Entry<String,Plugin>> it = s.iterator(); java.util.Iterator<Entry<String,Plugin>> it = s.iterator();