summaryrefslogtreecommitdiffstats
path: root/remoting/android/java/AndroidManifest.xml.jinja2
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/android/java/AndroidManifest.xml.jinja2')
-rw-r--r--remoting/android/java/AndroidManifest.xml.jinja215
1 files changed, 14 insertions, 1 deletions
diff --git a/remoting/android/java/AndroidManifest.xml.jinja2 b/remoting/android/java/AndroidManifest.xml.jinja2
index 7521f52..5f2af0a 100644
--- a/remoting/android/java/AndroidManifest.xml.jinja2
+++ b/remoting/android/java/AndroidManifest.xml.jinja2
@@ -12,12 +12,25 @@
android:theme="@android:style/Theme.Holo">
<activity android:name="org.chromium.chromoting.Chromoting"
android:configChanges="orientation|screenSize"
- android:theme="@style/MainTheme">
+ android:theme="@style/MainTheme"
+ android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
+ <activity
+ android:name="org.chromium.chromoting.ThirdPartyTokenFetcher$OAuthRedirectActivity"
+ android:enabled="false"
+ android:noHistory="true">
+ <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="{{ APK_PACKAGE_NAME }}"/>
+ <data android:host="oauthredirect"/>
+ </intent-filter>
+ </activity>
<activity android:name="org.chromium.chromoting.Desktop"
android:configChanges="orientation|screenSize"
android:windowSoftInputMode="adjustResize"/>