Deleted "<action android:name="android.intent.action.SEND" />" in "com.android.email.activity.ComposeActivityEmailExternal" activity of the AndroidManifest.xml as part of cleanup.
Bug: 139259734
Test: manual - Ran the following tests on Pixel phone. Tested the email UI.
$ make -j 40
$ make Email -j
$ make EmailTests -j
-rw-r--r-- 1 rtenneti primarygroup 6356400 Sep 18 15:32 out/target/product/marlin/testcases/Email/arm64/Email.apk
-rw-r--r-- 1 rtenneti primarygroup 389599 Sep 18 15:32 out/target/product/marlin/testcases/EmailTests/arm64/EmailTests.apk
$ adb install -r -d -g out/target/product/marlin/testcases/Email/arm64/Email.apk
$ adb install -r -d -g out/target/product/marlin/testcases/EmailTests/arm64/EmailTests.apk
$ adb shell am instrument -w com.android.email.tests
Time: 3.38
OK (157 tests)
$ atest EmailTests
com.android.email.tests (157 Tests)
[1/157] com.android.email.DummyFlakyTest#imNotReallyFlaky: PASSED (2ms)
...
[157/157] com.android.emailcommon.utility.UtilityTest#testParseEmailDateTime: PASSED (0ms)
EmailTests: Passed: 157, Failed: 0, Ignored: 0, Assumption Failed: 0
All tests passed!
Change-Id: Ia397eee0d9b966d7052dea5b9791ad6f351e9bb9
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index aee70c9..54235cf 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -115,30 +115,11 @@
<category
android:name="android.intent.category.BROWSABLE" />
</intent-filter>
- <intent-filter
- android:label="@string/app_name">
- <action
- android:name="android.intent.action.SEND" />
- <data
- android:mimeType="*/*" />
- <category
- android:name="android.intent.category.DEFAULT" />
- </intent-filter>
<intent-filter>
<action
android:name="com.android.email.intent.action.REPLY" />
</intent-filter>
<intent-filter>
- <action android:name="android.intent.action.SEND" />
- <category
- android:name="android.intent.category.DEFAULT" />
- <data
- android:scheme="content"
- android:host="ui.email2.android.com"
- android:pathPrefix="/compose"
- />
- </intent-filter>
- <intent-filter>
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="mailto" />