mirror of
https://github.com/bitwarden/android.git
synced 2024-11-23 01:46:00 +03:00
Fix accidental hardcoded Intent key (#858)
This commit is contained in:
parent
50d963c70e
commit
c7580c87bd
1 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@ package com.x8bit.bitwarden.data.platform.util
|
|||
import android.content.Intent
|
||||
import android.os.Build
|
||||
import android.os.Parcelable
|
||||
import android.view.autofill.AutofillManager
|
||||
import com.x8bit.bitwarden.data.platform.annotation.OmitFromCoverage
|
||||
|
||||
/**
|
||||
|
@ -19,5 +18,5 @@ inline fun <reified T> Intent.getSafeParcelableExtra(name: String): T? =
|
|||
T::class.java,
|
||||
)
|
||||
} else {
|
||||
getParcelableExtra(AutofillManager.EXTRA_ASSIST_STRUCTURE)
|
||||
getParcelableExtra(name)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue