2011-11-07

Constants: RunningAppProcessInfo.importance

Constants


public static final int IMPORTANCE_BACKGROUND

Constant for importance: this process process contains background code that is expendable.
Constant Value: 400 (0x00000190)


public static final int IMPORTANCE_EMPTY

Constant for importance: this process is empty of any actively running code.
Constant Value: 500 (0x000001f4)


public static final int IMPORTANCE_FOREGROUND

Constant for importance: this process is running the foreground UI.
Constant Value: 100 (0x00000064)


public static final int IMPORTANCE_PERCEPTIBLE

Constant for importance: this process is running something that is considered to be actively perceptible to the user. An example would be an application performing background music playback.
Constant Value: 130 (0x00000082)


public static final int IMPORTANCE_SERVICE

Constant for importance: this process is contains services that should remain running.
Constant Value: 300 (0x0000012c)


public static final int IMPORTANCE_VISIBLE

Constant for importance: this process is running something that is actively visible to the user, though not in the immediate foreground.
Constant Value: 200 (0x000000c8)


public static final int REASON_PROVIDER_IN_USE

Constant for importanceReasonCode: one of the application's content providers is being used by another process. The pid of the client process is in importanceReasonPid and the target provider in this process is in importanceReasonComponent.
Constant Value: 1 (0x00000001)


public static final int REASON_SERVICE_IN_USE

Constant for importanceReasonCode: one of the application's content providers is being used by another process. The pid of the client process is in importanceReasonPid and the target provider in this process is in importanceReasonComponent.
Constant Value: 2 (0x00000002)


public static final int REASON_UNKNOWN

Constant for importanceReasonCode: nothing special has been specified for the reason for this level.
Constant Value: 0 (0x00000000)                   

source: