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:
parent
1e3008098f
commit
187aefe725
1 changed files with 1 additions and 4 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue