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:
parent
a91464d10f
commit
9cd74570a1
1 changed files with 0 additions and 11 deletions
|
@ -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 + ","
|
||||
|
|
Loading…
Reference in a new issue