diff options
author | Andrew Dolgov <[email protected]> | 2016-02-23 12:10:30 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-02-23 12:10:30 +0300 |
commit | 0d37d7cd2dadfd0fa8545cdaef8e8b6a613405d8 (patch) | |
tree | 772c7893e0ea32befa4b16959471a495aab59227 | |
parent | 74f09f2f5f6fd6d13b83775ec26ebc525a087ce4 (diff) |
use intent.createchooser to share text
-rwxr-xr-x | org.fox.ttrss/src/main/AndroidManifest.xml | 4 | ||||
-rwxr-xr-x | org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/org.fox.ttrss/src/main/AndroidManifest.xml b/org.fox.ttrss/src/main/AndroidManifest.xml index 45636fc0..45665ef8 100755 --- a/org.fox.ttrss/src/main/AndroidManifest.xml +++ b/org.fox.ttrss/src/main/AndroidManifest.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.fox.ttrss" - android:versionCode="401" - android:versionName="1.169" > + android:versionCode="402" + android:versionName="1.170" > <uses-sdk android:minSdkVersion="16" diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java index 70f1c251..5811a7f9 100755 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java @@ -280,11 +280,11 @@ public class CommonActivity extends ActionBarActivity implements SharedPreferenc } protected void shareText(String text) { - startActivity(getShareIntent(text, null)); + startActivity(Intent.createChooser(getShareIntent(text, null), text)); } protected void shareText(String text, String subject) { - startActivity(getShareIntent(text, subject)); + startActivity(Intent.createChooser(getShareIntent(text, subject), text)); } private void openUriWithCustomTab(Uri uri) { |