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
2011-06-08 22:03:27 -07:00
parent 6b32fc9bd0
commit ccf379b9fa
6 changed files with 168 additions and 63 deletions
@@ -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() {