This avoids a redirect.  Both are supported in the IntentFilters.
This commit is contained in:
Hans-Christoph Steiner 2020-06-25 10:46:32 +02:00
parent adf62a5b1f
commit dfca502ac4
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

@ -262,7 +262,7 @@ public class AppDetailsActivity extends AppCompatActivity
shareIntent.setType("text/plain"); shareIntent.setType("text/plain");
shareIntent.putExtra(Intent.EXTRA_SUBJECT, app.name); shareIntent.putExtra(Intent.EXTRA_SUBJECT, app.name);
shareIntent.putExtra(Intent.EXTRA_TEXT, app.name + " (" + app.summary shareIntent.putExtra(Intent.EXTRA_TEXT, app.name + " (" + app.summary
+ ") - https://f-droid.org/app/" + app.packageName); + ") - https://f-droid.org/packages/" + app.packageName);
boolean showNearbyItem = app.isInstalled(getApplicationContext()) && bluetoothAdapter != null; boolean showNearbyItem = app.isInstalled(getApplicationContext()) && bluetoothAdapter != null;
CoordinatorLayout coordinatorLayout = (CoordinatorLayout) findViewById(R.id.rootCoordinator); CoordinatorLayout coordinatorLayout = (CoordinatorLayout) findViewById(R.id.rootCoordinator);