DO NOT MERGE Fix rotation and memory use bugs

- Reducing memory used by widget previews
- Reducing time to rotate between port and land
- Fixing wallpaper jump during rotation

Bug # 4575736
Bug # 4559451

Change-Id: I1551ac3a7b8b0b125dac12fbedfb3832549bd22f
This commit is contained in:
Michael Jurka committed 2011-06-09 21:26:35 -07:00
1 parent 6b32fc9bd0
commit ccf379b9fa
6 files changed
+168 -63

No files matched your search

@@ -48,11 +48,11 @@ public class PagedViewIconCache {
final ComponentInfo ci = info.activityInfo != null ? info.activityInfo :
info.serviceInfo;
mComponentName = new ComponentName(ci.packageName, ci.name);
mType = Type.AppWidgetProviderInfoKey;
mType = Type.ResolveInfoKey;
}
public Key(AppWidgetProviderInfo info) {
mComponentName = info.provider;
mType = Type.ResolveInfoKey;
mType = Type.AppWidgetProviderInfoKey;
}
private ComponentName getComponentName() {