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

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

Add toString() to WallpaperDescription

Bug: 376172272
Flag: android.app.live_wallpaper_content_handling
Test: manually tested in log output
Change-Id: Ifa06622814ca65939d5cee2edb2749fab5a6d699
parent 3ee821a4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -168,6 +168,12 @@ public final class WallpaperDescription implements Parcelable {
        return mSampleSize;
    }

    @Override
    public String toString() {
        String component = (mComponent != null) ? mComponent.toString() : "{null}";
        return  component + ":" + mId;
    }

    ////// Comparison overrides

    @Override