urbanairship-core/src/main/java/com/urbanairship/analytics/Analytics.java
void onBackground(long timeMS) {
        // Stop tracking screen
        trackScreen(null);

        addEvent(new AppBackgroundEvent(timeMS));
        setConversionSendId(null);
        setConversionMetadata(null);
    }
/**
     * Called when the app is backgrounded.
     *
     * @param timeMS Time of backgrounding.
     */
Called when the app is backgrounded.
@param timeMS Time of backgrounding.
Called when the app is backgrounded . @param timeMS Time of backgrounding .
void onBackground(long timeMS) {
        trackScreen(null);
        addEvent(new AppBackgroundEvent(timeMS));
        setConversionSendId(null);
        setConversionMetadata(null);
    }
void onBackground ( long timeMS ) { trackScreen ( null ) ; addEvent ( new AppBackgroundEvent ( timeMS ) ) ; setConversionSendId ( null ) ; setConversionMetadata ( null ) ; }
Called when the app is backgrounded.
Called when the app is backgrounded .
// Stop tracking screen