summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-07-14 18:29:12 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-07-14 18:29:12 -0700
commit45c04be1f664cec041a01a553fbbb255412099f6 (patch)
tree170d37401fb806aef45d5600a501b509ab660900 /src
parent403d7fe526a0428c8ccb9a312d12f383a37bf330 (diff)
parentc5ec5be6e4e796bd44475c63d43d8806e522aaf1 (diff)
downloadpackages_apps_settings-45c04be1f664cec041a01a553fbbb255412099f6.zip
packages_apps_settings-45c04be1f664cec041a01a553fbbb255412099f6.tar.gz
packages_apps_settings-45c04be1f664cec041a01a553fbbb255412099f6.tar.bz2
Merge "Follow change in load average service."
Diffstat (limited to 'src')
-rw-r--r--src/com/android/settings/DevelopmentSettings.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/settings/DevelopmentSettings.java b/src/com/android/settings/DevelopmentSettings.java
index 10afd55..380af3c 100644
--- a/src/com/android/settings/DevelopmentSettings.java
+++ b/src/com/android/settings/DevelopmentSettings.java
@@ -250,7 +250,7 @@ public class DevelopmentSettings extends PreferenceFragment
Settings.System.putInt(getActivity().getContentResolver(),
Settings.System.SHOW_PROCESSES, value ? 1 : 0);
Intent service = (new Intent())
- .setClassName("android", "com.android.server.LoadAverageService");
+ .setClassName("com.android.systemui", "com.android.systemui.LoadAverageService");
if (value) {
getActivity().startService(service);
} else {
@@ -298,6 +298,7 @@ public class DevelopmentSettings extends PreferenceFragment
try {
float scale = Float.parseFloat(newValue.toString());
mWindowManager.setAnimationScale(which, scale);
+ updateAnimationScaleValue(which, pref);
} catch (RemoteException e) {
}
}
@@ -324,6 +325,7 @@ public class DevelopmentSettings extends PreferenceFragment
try {
int limit = Integer.parseInt(newValue.toString());
ActivityManagerNative.getDefault().setProcessLimit(limit);
+ updateAppProcessLimitOptions();
} catch (RemoteException e) {
}
}