Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 7038bbf7 authored by Ricki Hirner's avatar Ricki Hirner Committed by GitHub
Browse files

Google OAuth: fix manifest merging so that intent-filter for OAuth callback is...

Google OAuth: fix manifest merging so that intent-filter for OAuth callback is included again (#367)
parent b7e00fac
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -60,9 +60,10 @@ android {
    // Java namespace for our classes (not to be confused with Android package ID)
    namespace 'at.bitfire.davdroid'

    flavorDimensions "distribution"
    flavorDimensions = [ "distribution" ]
    productFlavors {
        ose {
            dimension "distribution"
            versionNameSuffix "-ose"
        }
    }
+2 −2
Original line number Diff line number Diff line
@@ -64,9 +64,9 @@

        <service android:name=".ForegroundService"/>

        <!-- Remove the node added by AppAuth -->
        <!-- Remove the node added by AppAuth (remove only from net.openid.appauth library, not from our flavor manifest files) -->
        <activity android:name="net.openid.appauth.RedirectUriReceiverActivity"
            tools:node="remove"/>
            tools:node="remove" tools:selector="net.openid.appauth"/>

        <activity android:name=".ui.intro.IntroActivity" android:theme="@style/AppTheme.NoActionBar" />
        <activity
+2 −4
Original line number Diff line number Diff line
@@ -2,16 +2,14 @@
  ~ Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details.
  -->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

    <application>

        <!-- AppAuth login flow redirect -->
        <activity
            android:name="net.openid.appauth.RedirectUriReceiverActivity"
            android:exported="true"
            tools:node="replace">
            android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.DEFAULT"/>