mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 18:29:23 +02:00
code cleanup
This commit is contained in:
parent
6caf54664a
commit
d07cba1533
2 changed files with 6 additions and 8 deletions
|
@ -182,10 +182,4 @@ public abstract class Util implements UserRegistrationConstants {
|
|||
activity.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
|
||||
}
|
||||
}
|
||||
|
||||
public static NetworkTree getTreeFromIntent(Intent intent) {
|
||||
final NetworkLibrary library = NetworkLibrary.Instance();
|
||||
final NetworkTree.Key key = (NetworkTree.Key)intent.getSerializableExtra(NetworkLibraryActivity.TREE_KEY_KEY);
|
||||
return library.getTreeByKey(key);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue