diff options
| -rw-r--r-- | core/java/android/content/Context.java | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java index 01123968fcbd..654e698c0d62 100644 --- a/core/java/android/content/Context.java +++ b/core/java/android/content/Context.java @@ -329,15 +329,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 * allow the bound app to get the same capabilities, as long as it has the required permissions @@ -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 |