Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Unified Diff: chrome/android/java/AndroidManifest.xml

Issue 2666833002: Create entry to PWSharing through ShareHelper (Closed)
Patch Set: Reduce ChromeActivity Logic Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/AndroidManifest.xml
diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
index 2344471618da0b9fd1ba0e7880f2518dcf45ff39..96134d770b5f21e296777c44422e831b68ecc616 100644
--- a/chrome/android/java/AndroidManifest.xml
+++ b/chrome/android/java/AndroidManifest.xml
@@ -641,6 +641,24 @@ by a child template that "extends" this file.
android:exported="false">
</activity>
+ <!-- This activity is to expose the PhysicalWeb Share option via the generic Android share action. -->
+ <activity
+ android:name="org.chromium.chrome.browser.physicalweb.PhysicalWebShareActivity"
+ android:icon="@drawable/physical_web_notification_large"
+ android:label="@string/physical_web_share_activity_title"
+ android:enabled="false"
+ android:excludeFromRecents="true"
+ android:exported="true"
mattreynolds 2017/02/03 20:08:16 Was it intentional to re-add android:exported and
iankc 2017/02/03 20:55:40 It was intentional to add the the intent filter ba
+ android:noHistory="true"
+ android:theme="@android:style/Theme.NoDisplay"
+ android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize" >
+ <intent-filter>
+ <action android:name="android.intent.action.SEND" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <data android:mimeType="text/plain" />
+ </intent-filter>
+ </activity>
+
<!-- Service for handling Nearby Messages -->
<service android:name="org.chromium.chrome.browser.physicalweb.NearbyMessageIntentService"
android:exported="false" />

Powered by Google App Engine
This is Rietveld 408576698