Merge "Fix the constant value for hidden BIND flag" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-05-10 21:45:42 +00:00
committed by Android (Google) Code Review

View File

@@ -328,15 +328,6 @@ public abstract class Context {
*/
public static final int BIND_ADJUST_WITH_ACTIVITY = 0x0080;
/**
* Flag for {@link #bindService}: If binding from something better than perceptible,
* still set the adjust below perceptible. This would be used for bound services that can
* afford to be evicted when under extreme memory pressure, but should be restarted as soon
* as possible.
* @hide
*/
public static final int BIND_ADJUST_BELOW_PERCEPTIBLE = 0x0100;
/**
* Flag for {@link #bindService}: If binding from an app that has specific capabilities
* due to its foreground state such as an activity or foreground service, then this flag will
@@ -345,6 +336,18 @@ public abstract class Context {
*/
public static final int BIND_INCLUDE_CAPABILITIES = 0x00001000;
/*********** Public flags above this line ***********/
/*********** Hidden flags below this line ***********/
/**
* Flag for {@link #bindService}: If binding from something better than perceptible,
* still set the adjust below perceptible. This would be used for bound services that can
* afford to be evicted when under extreme memory pressure, but should be restarted as soon
* as possible.
* @hide
*/
public static final int BIND_ADJUST_BELOW_PERCEPTIBLE = 0x00040000;
/**
* Flag for {@link #bindService}: This flag is intended to be used only by the system to adjust
* the scheduling policy for IMEs (and any other out-of-process user-visible components that