File tree Expand file tree Collapse file tree
common/src/main/java/com/microsoft/identity/common/internal/providers/oauth2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,8 +90,8 @@ class SwitchBrowserActivity : FragmentActivity() {
9090 * @param savedInstanceState Saved instance state bundle (unused in this implementation)
9191 */
9292 override fun onCreate (savedInstanceState : Bundle ? ) {
93- val methodTag = " $TAG :onCreate"
9493 super .onCreate(savedInstanceState)
94+ val methodTag = " $TAG :onCreate"
9595 Logger .info(methodTag, " SwitchBrowserActivity created - Launching browser" )
9696 launchBrowser()
9797 }
@@ -164,9 +164,9 @@ class SwitchBrowserActivity : FragmentActivity() {
164164 *
165165 * @param intent The intent containing the authentication result from the browser redirect
166166 */
167- override fun onNewIntent (intent : Intent ) {
168- val methodTag = " $TAG :onNewIntent"
167+ override fun onNewIntent (intent : Intent ? ) {
169168 super .onNewIntent(intent)
169+ val methodTag = " $TAG :onNewIntent"
170170 // Update the activity's intent with the new intent containing the auth result
171171 Logger .info(methodTag, " On new intent received." )
172172 setIntent(intent)
You can’t perform that action at this time.
0 commit comments