Deleted "<action android:name="android.intent.action.SEND_MULTIPLE" />" in "com.android.email.activity.ComposeActivityEmailExternal" activity of the AndroidManifest.xml as part of cleanup.
Bug: 139259734
Bug: 127320867
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 16 10:59 out/target/product/marlin/testcases/Email/arm64/Email.apk
-rw-r--r-- 1 rtenneti primarygroup 389599 Sep 16 10:57 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: 10.338
OK (157 tests)
$ atest EmailTests
Summary
-------
EmailTests: Passed: 157, Failed: 0, Ignored: 0, Assumption Failed: 0
All tests passed!
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
Bug: 127320867
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: Iff7a42a3248a8b45cf128d2335624fc298c8888c
(cherry picked from commit 37275ba2833057630de85bfa95c141ec55c6d304)
Merged-In: Iff7a42a3248a8b45cf128d2335624fc298c8888c
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index ae13064..086e598 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -106,39 +106,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
- android:label="@string/app_name">
- <action
- android:name="android.intent.action.SEND_MULTIPLE" />
- <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" />