Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f923d079 authored by Adam Lesinski's avatar Adam Lesinski Committed by android-build-merger
Browse files

Merge "Fix issue where existing Activity Resources references would not...

Merge "Fix issue where existing Activity Resources references would not update" into nyc-dev am: c1ff12ec
am: 001f8c57

* commit '001f8c57':
  Fix issue where existing Activity Resources references would not update

Change-Id: I4398ce59dc10561070f7d26abc23c34eed83ba92
parents 66741511 001f8c57
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -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.