mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 10:17:18 +00:00
parent
e103f168c4
commit
321e832122
7 changed files with 4 additions and 62 deletions
|
@ -187,17 +187,6 @@
|
|||
<data android:scheme="message" />
|
||||
<data android:host="email.faircode.eu" />
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:scheme="https" />
|
||||
<data android:path="/link" />
|
||||
<data android:host="email.faircode.eu" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
|
|
|
@ -193,17 +193,6 @@
|
|||
<data android:scheme="message" />
|
||||
<data android:host="email.faircode.eu" />
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:scheme="https" />
|
||||
<data android:path="/link" />
|
||||
<data android:host="email.faircode.eu" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
|
|
|
@ -193,17 +193,6 @@
|
|||
<data android:scheme="message" />
|
||||
<data android:host="email.faircode.eu" />
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:scheme="https" />
|
||||
<data android:path="/link" />
|
||||
<data android:host="email.faircode.eu" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
|
|
|
@ -186,17 +186,6 @@
|
|||
<data android:scheme="message" />
|
||||
<data android:host="email.faircode.eu" />
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:scheme="https" />
|
||||
<data android:path="/link" />
|
||||
<data android:host="email.faircode.eu" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
|
|
|
@ -118,12 +118,9 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
|
|||
Intent intent = getIntent();
|
||||
Uri data = (intent == null ? null : intent.getData());
|
||||
if (data != null &&
|
||||
(("message".equals(data.getScheme()) &&
|
||||
("email.faircode.eu".equals(data.getHost()) ||
|
||||
BuildConfig.APPLICATION_ID.equals(data.getHost()))) ||
|
||||
("https".equals(data.getScheme()) &&
|
||||
"email.faircode.eu".equals(data.getHost()) &&
|
||||
"link".equals(data.getPath())))) {
|
||||
"message".equals(data.getScheme()) &&
|
||||
("email.faircode.eu".equals(data.getHost()) ||
|
||||
BuildConfig.APPLICATION_ID.equals(data.getHost()))) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
Bundle args = new Bundle();
|
||||
|
|
|
@ -269,7 +269,7 @@ public class EntityMessage implements Serializable {
|
|||
}
|
||||
|
||||
String getLink() {
|
||||
return "https://email.faircode.eu/link/#" + id;
|
||||
return "message://email.faircode.eu/link/#" + id;
|
||||
}
|
||||
|
||||
boolean isPlainOnly() {
|
||||
|
|
|
@ -187,17 +187,6 @@
|
|||
<data android:scheme="message" />
|
||||
<data android:host="email.faircode.eu" />
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:scheme="https" />
|
||||
<data android:path="/link" />
|
||||
<data android:host="email.faircode.eu" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
|
|
Loading…
Reference in a new issue