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

Commit 175c2a2a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Always record the latest PIDF + timestamp upon PUBLISH" into sc-dev am: 1a030c4a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/net/ims/+/14946960

Change-Id: I5ead1a198aaf3783c29319f1d80fe860e6e7fc7b
parents 1deb609c 1a030c4a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -903,10 +903,11 @@ public class PublishControllerImpl implements PublishController {
            }
            logd("publish state changes from " + mPublishState + " to " + newPublishState +
                    ", time=" + updatedTimestamp);
            if (mPublishState == newPublishState) return;
            mPublishState = newPublishState;
            mPublishStateUpdatedTime = updatedTimestamp;
            mPidfXml = pidfXml;
            // Bail early and do not update listeners if the publish state didn't change.
            if (mPublishState == newPublishState) return;
            mPublishState = newPublishState;
        }

        // Trigger the publish state changed in handler thread since it may take time.