mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-06 03:50:19 +02:00
string constant => reference
This commit is contained in:
parent
7fd46eb6cd
commit
87423183dd
1 changed files with 3 additions and 1 deletions
|
@ -25,6 +25,8 @@ import android.net.Uri;
|
||||||
|
|
||||||
import org.geometerplus.fbreader.fbreader.FBReaderApp;
|
import org.geometerplus.fbreader.fbreader.FBReaderApp;
|
||||||
|
|
||||||
|
import org.geometerplus.android.fbreader.api.PluginApi;
|
||||||
|
|
||||||
class RunPluginAction extends FBAndroidAction {
|
class RunPluginAction extends FBAndroidAction {
|
||||||
private final Uri myUri;
|
private final Uri myUri;
|
||||||
|
|
||||||
|
@ -40,7 +42,7 @@ class RunPluginAction extends FBAndroidAction {
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
OrientationUtil.startActivity(
|
OrientationUtil.startActivity(
|
||||||
BaseActivity, new Intent("android.fbreader.action.plugin.RUN", myUri)
|
BaseActivity, new Intent(PluginApi.ACTION_RUN, myUri)
|
||||||
);
|
);
|
||||||
} catch (ActivityNotFoundException e) {
|
} catch (ActivityNotFoundException e) {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue