sdk/src/main/java/com/bugsnag/android/SessionTracker.java
void startFirstSession(Activity activity) {
        Session session = currentSession.get();
        if (session == null) {
            long nowMs = System.currentTimeMillis();
            activityFirstStartedAtMs.set(nowMs);
            startNewSession(new Date(nowMs), client.getUser(), true);
            foregroundActivities.add(getActivityName(activity));
        }
    }
/**
     * Tracks a session if a session has not yet been captured,
     * recording the session as auto-captured. Requires the current activity.
     *
     * @param activity the current activity
     */
Tracks a session if a session has not yet been captured,
recording the session as auto-captured. Requires the current activity.

@param activity the current activity
Tracks a session if a session has not yet been captured recording the session as auto - captured . Requires the current activity . @param activity the current activity
void startFirstSession(Activity activity) {
        Session session = currentSession.get();
        if (session == null) {
            long nowMs = System.currentTimeMillis();
            activityFirstStartedAtMs.set(nowMs);
            startNewSession(new Date(nowMs), client.getUser(), true);
            foregroundActivities.add(getActivityName(activity));
        }
    }
void startFirstSession ( Activity activity ) { Session session = currentSession . get ( ) ; if ( session == null ) { long nowMs = System . currentTimeMillis ( ) ; activityFirstStartedAtMs . set ( nowMs ) ; startNewSession ( new Date ( nowMs ) , client . getUser ( ) , true ) ; foregroundActivities . add ( getActivityName ( activity ) ) ; } }
Tracks a session if a session has not yet been captured,
 recording the session as auto-captured.
Tracks a session if a session has not yet been captured recording the session as auto - captured .