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

Commit 22774720 authored by Chris Poultney's avatar Chris Poultney
Browse files

Fixes NPE in WallpaperData constructor

Bug: 253507223
Test: TreeHugger
Change-Id: Ibfa441ac83b20bd0efcc53acd19c81750cb65430
parent 62ab6c19
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -166,8 +166,10 @@ class WallpaperData {
        this.primaryColors = source.primaryColors;
        this.mWallpaperDimAmount = source.mWallpaperDimAmount;
        this.connection = source.connection;
        if (this.connection != null) {
            this.connection.mWallpaper = this;
        }
    }

    @Override
    public String toString() {