diff options
author | Dianne Hackborn <hackbod@google.com> | 2014-05-29 18:35:45 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2014-05-30 10:06:16 -0700 |
commit | 20d94749043d0851f1da10c7749fd7eb13a35081 (patch) | |
tree | fe14d454373789e1b28d52811b65aaaa572688e2 /services | |
parent | 5286624b648c7d7cc4c15813f9921c1d0b2e46cc (diff) | |
download | frameworks_base-20d94749043d0851f1da10c7749fd7eb13a35081.zip frameworks_base-20d94749043d0851f1da10c7749fd7eb13a35081.tar.gz frameworks_base-20d94749043d0851f1da10c7749fd7eb13a35081.tar.bz2 |
More work on voice interaction visuals.
There is now a special theme for voice interaction activities
to use, so they can be a panel that is better intergrated with
the rest of the voice interaction experience. This is still
not completely working, I have some hacks in the demo app to
get it right; I'll fix that in a future change.
Also improve VoiceInteractor to be retained across activity
instances, for things like rotation.
And bump up the number of concurrent broadcasts that are allowed
on non-svelte devices, since they can handle more and this makes
the boot experience better when dispatching BOOT_COMPLETED.
Change-Id: Ie86b5fd09b928da20d645ec2200577dee3e6889d
Diffstat (limited to 'services')
-rwxr-xr-x | services/core/java/com/android/server/am/ActiveServices.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/am/ActiveServices.java b/services/core/java/com/android/server/am/ActiveServices.java index 033b967..108a079 100755 --- a/services/core/java/com/android/server/am/ActiveServices.java +++ b/services/core/java/com/android/server/am/ActiveServices.java @@ -247,7 +247,8 @@ public final class ActiveServices { maxBg = Integer.parseInt(SystemProperties.get("ro.config.max_starting_bg", "0")); } catch(RuntimeException e) { } - mMaxStartingBackground = maxBg > 0 ? maxBg : ActivityManager.isLowRamDeviceStatic() ? 1 : 3; + mMaxStartingBackground = maxBg > 0 + ? maxBg : ActivityManager.isLowRamDeviceStatic() ? 1 : 8; } ServiceRecord getServiceByName(ComponentName name, int callingUser) { |