android: Drop unused DisplayMentrics#toJSON

Change-Id: I631932c4f4a6d61e89816b5d276bfe8384194939
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170716
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
This commit is contained in:
Michael Weghorn 2024-07-19 07:20:09 +02:00
parent a91464d10f
commit 9cd74570a1

View file

@ -47,17 +47,6 @@ public final class DisplayPortMetrics {
&& FloatUtils.fuzzyEquals(mResolution, metrics.mResolution);
}
public String toJSON() {
StringBuffer sb = new StringBuffer(256);
sb.append("{ \"left\": ").append(mPosition.left)
.append(", \"top\": ").append(mPosition.top)
.append(", \"right\": ").append(mPosition.right)
.append(", \"bottom\": ").append(mPosition.bottom)
.append(", \"resolution\": ").append(mResolution)
.append('}');
return sb.toString();
}
@Override
public String toString() {
return "DisplayPortMetrics v=(" + mPosition.left + ","