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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user