diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-10-31 15:39:59 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2011-10-31 16:52:34 -0700 |
commit | 2c84cfc001fb92a71811bf7384b7f865ff31ff9d (patch) | |
tree | 1d43eda4854e37a553b85ce759ea4fffd41c9edb /core/java/android/content/Context.java | |
parent | dd79b4c85a9dd2c2ad702ea2137fe2a076567fa1 (diff) | |
download | frameworks_base-2c84cfc001fb92a71811bf7384b7f865ff31ff9d.zip frameworks_base-2c84cfc001fb92a71811bf7384b7f865ff31ff9d.tar.gz frameworks_base-2c84cfc001fb92a71811bf7384b7f865ff31ff9d.tar.bz2 |
Various performance and other work.
- IME service now switches between visible and perceptible depending on
whether it is being showm, allowing us to more aggressively free its
memory when not shown.
- The activity display time is no longer delayed by the activity
transition animation.
- New -R (repeat) option for launching activities with the am command.
- Improved some documentation on Loader to be clear about some methods
that apps should not normally call.
- FrameworkPerf test now allows you to select individual tests to run.
Change-Id: Id1f73de66dc93d63212183958a72119ad174318b
Diffstat (limited to 'core/java/android/content/Context.java')
-rw-r--r-- | core/java/android/content/Context.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java index 9468581..bfbd0ac 100644 --- a/core/java/android/content/Context.java +++ b/core/java/android/content/Context.java @@ -185,7 +185,14 @@ public abstract class Context { * used to reduce the amount that the client process's overall importance * is used to impact it. */ - public static final int BIND_ADJUST_WITH_ACTIVITY = 0x0040; + public static final int BIND_ADJUST_WITH_ACTIVITY = 0x0080; + + /** + * Flag for {@link #bindService}: Don't consider the bound service to be + * visible, even if the caller is visible. + * @hide + */ + public static final int BIND_NOT_VISIBLE = 0x40000000; /** Return an AssetManager instance for your application's package. */ public abstract AssetManager getAssets(); |