diff options
Diffstat (limited to 'APG/src/org/thialfihar/android/apg/ui/HelpFragmentAbout.java')
-rw-r--r-- | APG/src/org/thialfihar/android/apg/ui/HelpFragmentAbout.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/APG/src/org/thialfihar/android/apg/ui/HelpFragmentAbout.java b/APG/src/org/thialfihar/android/apg/ui/HelpFragmentAbout.java index 1b80db66b..f1cc8407c 100644 --- a/APG/src/org/thialfihar/android/apg/ui/HelpFragmentAbout.java +++ b/APG/src/org/thialfihar/android/apg/ui/HelpFragmentAbout.java @@ -57,8 +57,7 @@ public class HelpFragmentAbout extends SherlockFragment { View view = inflater.inflate(R.layout.help_fragment_about, container, false); // load html from html file from /res/raw - InputStream inputStreamText = OtherHelper.getInputStreamFromResource(this.getActivity(), - R.raw.help_about); + InputStream inputStreamText = getResources().openRawResource(R.raw.help_about); TextView versionText = (TextView) view.findViewById(R.id.help_about_version); versionText.setText(getString(R.string.help_about_version) + " " + getVersion()); |