Merge "Fix issue where existing Activity Resources references would not update" into nyc-dev am: c1ff12eccd
am: 3297250b9c
* commit '3297250b9cc068715d36c039133db5bf0083b9cc':
Fix issue where existing Activity Resources references would not update
Change-Id: I1f9dfebf5deb3d1a9cf49cc9042a02a90c3c7a68
This commit is contained in:
@@ -451,15 +451,8 @@ public class ResourcesManager {
|
||||
}
|
||||
|
||||
synchronized (this) {
|
||||
final ActivityResources activityResources =
|
||||
getOrCreateActivityResourcesStructLocked(
|
||||
activityToken);
|
||||
|
||||
if (overrideConfig != null) {
|
||||
activityResources.overrideConfig.setTo(overrideConfig);
|
||||
} else {
|
||||
activityResources.overrideConfig.setToDefaults();
|
||||
}
|
||||
// Force the creation of an ActivityResourcesStruct.
|
||||
getOrCreateActivityResourcesStructLocked(activityToken);
|
||||
}
|
||||
|
||||
// Update any existing Activity Resources references.
|
||||
|
||||
Reference in New Issue
Block a user