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

Commit 12293f9b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixed NPE when updating score" into qt-dev

parents 43dd8b00 37ed8024
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2718,7 +2718,7 @@ public class DataConnection extends StateMachine {
    private void updateScore() {
        int oldScore = mScore;
        mScore = calculateScore();
        if (oldScore != mScore) {
        if (oldScore != mScore && mNetworkAgent != null) {
            log("Updating score from " + oldScore + " to " + mScore);
            mNetworkAgent.sendNetworkScore(mScore, this);
        }