fix: recents URL not showing after open in share menu
This commit is contained in:
parent
903e844aad
commit
a4d07d4307
|
@ -1,6 +1,7 @@
|
||||||
package org.joinmastodon.android;
|
package org.joinmastodon.android;
|
||||||
|
|
||||||
import android.app.Fragment;
|
import android.app.Fragment;
|
||||||
|
import android.app.assist.AssistContent;
|
||||||
import android.content.ClipData;
|
import android.content.ClipData;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
|
@ -101,4 +102,11 @@ public class ExternalShareActivity extends FragmentStackActivity{
|
||||||
return null;
|
return null;
|
||||||
return new ArrayList<>(l);
|
return new ArrayList<>(l);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onProvideAssistContent(AssistContent outContent) {
|
||||||
|
super.onProvideAssistContent(outContent);
|
||||||
|
|
||||||
|
outContent.setWebUri(Uri.parse(DomainManager.getInstance().getCurrentDomain()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue