Skip to content

Commit

Permalink
Convert HackbookLoginManager to Kotlin
Browse files Browse the repository at this point in the history
Summary: $title

Reviewed By: joesus

Differential Revision: D39745055

fbshipit-source-id: e317ee861fbc108475a23dfccdc68b0a1ef8e06a
  • Loading branch information
mingcaozhang authored and facebook-github-bot committed Sep 23, 2022
1 parent b343d46 commit 88e0e81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ open class LoginFragment : Fragment() {

companion object {
internal const val RESULT_KEY = "com.facebook.LoginFragment:Result"
internal const val REQUEST_KEY = "com.facebook.LoginFragment:Request"
internal const val EXTRA_REQUEST = "request"
const val REQUEST_KEY = "com.facebook.LoginFragment:Request"
const val EXTRA_REQUEST = "request"
private const val TAG = "LoginFragment"
private const val NULL_CALLING_PKG_ERROR_MSG =
"Cannot call LoginFragment with a null calling package. This can occur if the launchMode of the caller is singleInstance."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ import kotlin.jvm.JvmOverloads
import kotlin.jvm.Volatile

/** This class manages login and permissions for Facebook. */
open class LoginManager internal constructor() {
open class LoginManager() {
/** The login behavior. */
var loginBehavior = LoginBehavior.NATIVE_WITH_FALLBACK
private set
Expand Down

0 comments on commit 88e0e81

Please sign in to comment.