Skip to content

Commit

Permalink
OAuth with new arch, initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
davigonz committed Feb 27, 2020
1 parent a001db5 commit a15fa0a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion owncloud-android-library
11 changes: 0 additions & 11 deletions owncloudApp/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -191,17 +191,6 @@
android:theme="@style/Theme.ownCloud.Authenticator">
</activity>

<activity android:name="net.openid.appauth.RedirectUriReceiverActivity">
<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="${appAuthRedirectScheme}" />
</intent-filter>
</activity>

<service android:name=".services.OperationsService" />
<service android:name=".files.services.FileDownloader" />
<service android:name=".files.services.FileUploader" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public Bundle addAccount(AccountAuthenticatorResponse response,
return e.getFailureBundle();
}

final Intent intent = new Intent(mContext, LoginActivity.class);
final Intent intent = new Intent(mContext, AuthenticatorActivity.class);
intent.putExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response);
intent.putExtra(KEY_AUTH_TOKEN_TYPE, authTokenType);
intent.putExtra(KEY_REQUIRED_FEATURES, requiredFeatures);
Expand Down
2 changes: 0 additions & 2 deletions owncloudData/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ android {
}

multiDexEnabled true

manifestPlaceholders = [appAuthRedirectScheme: '']
}

buildTypes {
Expand Down

0 comments on commit a15fa0a

Please sign in to comment.