Skip to content

Commit

Permalink
Merge pull request #175 from ihormartsekha-okta/fix-issue-when-use-di…
Browse files Browse the repository at this point in the history
…fferent-task-affinities

Fix issue during signIn when taskAffinity is empty string
  • Loading branch information
FeiChen-okta authored Jul 31, 2020
2 parents 1702a1a + 2e12e35 commit 8cda9db
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ subprojects {
}

ext {
versionNum = 16
versionName = "1.0.14"
versionNum = 17
versionName = "1.0.15"
versionDate = new Date()
minSdkVersion = 19
compileSdkVersion = 29
Expand Down
13 changes: 9 additions & 4 deletions library/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.okta.oidc">
xmlns:tools="http://schemas.android.com/tools"
package="com.okta.oidc">

<uses-permission android:name="android.permission.USE_FINGERPRINT" />
<application>
<activity
android:name="com.okta.oidc.OktaAuthenticationActivity"
android:exported="false"
android:launchMode="singleTop"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
android:launchMode="singleInstance"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:autoRemoveFromRecents="true"
tools:targetApi="lollipop" />

<activity
android:name="com.okta.oidc.OktaRedirectActivity"
android:exported="true">
android:exported="true"
android:autoRemoveFromRecents="true"
tools:targetApi="lollipop">
<intent-filter>
<action android:name="android.intent.action.VIEW" />

Expand Down
5 changes: 3 additions & 2 deletions library/src/test/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
<activity
android:name="com.okta.oidc.OktaAuthenticationActivity"
android:exported="false"
android:launchMode="singleTop"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
android:launchMode="singleInstance"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
/>

<activity
android:name="com.okta.oidc.OktaRedirectActivity"
Expand Down

0 comments on commit 8cda9db

Please sign in to comment.