1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-06 03:50:19 +02:00

plugin API cleanup

This commit is contained in:
Nikolay Pultsin 2011-07-02 09:15:13 +01:00
parent 1e3008098f
commit 187aefe725

View file

@ -137,10 +137,6 @@ public final class FBReader extends ZLAndroidActivity {
fbReader.addAction(ActionCode.PROCESS_HYPERLINK, new ProcessHyperlinkAction(this, fbReader)); fbReader.addAction(ActionCode.PROCESS_HYPERLINK, new ProcessHyperlinkAction(this, fbReader));
fbReader.addAction(ActionCode.SHOW_CANCEL_MENU, new ShowCancelMenuAction(this, fbReader)); fbReader.addAction(ActionCode.SHOW_CANCEL_MENU, new ShowCancelMenuAction(this, fbReader));
final IntentFilter filter = new IntentFilter();
filter.addAction(PluginApi.ACTION_REGISTER);
registerReceiver(myPluginInfoReceiver, filter);
} }
@Override @Override
@ -217,6 +213,7 @@ public final class FBReader extends ZLAndroidActivity {
synchronized (myPluginActions) { synchronized (myPluginActions) {
myPluginActions.clear(); myPluginActions.clear();
} }
sendOrderedBroadcast( sendOrderedBroadcast(
new Intent(PluginApi.ACTION_REGISTER), new Intent(PluginApi.ACTION_REGISTER),
null, null,