|
|
@ -118,9 +118,12 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
|
|
|
|
Intent intent = getIntent();
|
|
|
|
Intent intent = getIntent();
|
|
|
|
Uri data = (intent == null ? null : intent.getData());
|
|
|
|
Uri data = (intent == null ? null : intent.getData());
|
|
|
|
if (data != null &&
|
|
|
|
if (data != null &&
|
|
|
|
"message".equals(data.getScheme()) &&
|
|
|
|
(("message".equals(data.getScheme()) &&
|
|
|
|
("email.faircode.eu".equals(data.getHost()) ||
|
|
|
|
("email.faircode.eu".equals(data.getHost()) ||
|
|
|
|
BuildConfig.APPLICATION_ID.equals(data.getHost()))) {
|
|
|
|
BuildConfig.APPLICATION_ID.equals(data.getHost()))) ||
|
|
|
|
|
|
|
|
("https".equals(data.getScheme()) &&
|
|
|
|
|
|
|
|
"email.faircode.eu".equals(data.getHost()) &&
|
|
|
|
|
|
|
|
"link".equals(data.getPath())))) {
|
|
|
|
super.onCreate(savedInstanceState);
|
|
|
|
super.onCreate(savedInstanceState);
|
|
|
|
|
|
|
|
|
|
|
|
Bundle args = new Bundle();
|
|
|
|
Bundle args = new Bundle();
|
|
|
|