Skip to content

Commit

Permalink
Updating javadocs.
Browse files Browse the repository at this point in the history
Summary: Updating javadocs for LoginActivity.

Test Plan: builds

Reviewers: mmarucheck, clang, jacl

Reviewed By: mmarucheck

CC: msdkexp@

Differential Revision: https://phabricator.fb.com/D652420

Task ID: 1946899
  • Loading branch information
mingflifb committed Dec 10, 2012
1 parent 5ca08f4 commit ba8c07d
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions facebook/src/com/facebook/LoginActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,17 @@
import java.util.List;

/**
* This class addresses the issue of a potential window leak during
* dialog authorization if the Activity containing the dialog is destroyed
* (e.g. if the user rotates the device).
* <p/>
* Add this activity to your AndroidManifest.xml to ensure proper handling
* of dialog authorization.
* This Activity is a necessary part of the overall Facebook login process
* but is not meant to be used directly. Add this activity to your
* AndroidManifest.xml to ensure proper handling of Facebook login.
* <pre>
* {@code
* <activity android:name="com.facebook.LoginActivity"
* android:theme="@android:style/Theme.Translucent.NoTitleBar"
* android:label="@string/app_name" />
* }
* </pre>
* Do not start this activity directly.
*/
public class LoginActivity extends Activity {
static final String EXTRA_APPLICATION_ID = "com.facebook.sdk.extra.APPLICATION_ID";
Expand Down

0 comments on commit ba8c07d

Please sign in to comment.